diff options
Diffstat (limited to 'mobile/android/chrome/geckoview/config.xhtml')
-rw-r--r-- | mobile/android/chrome/geckoview/config.xhtml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/mobile/android/chrome/geckoview/config.xhtml b/mobile/android/chrome/geckoview/config.xhtml new file mode 100644 index 0000000000..96a87a1dea --- /dev/null +++ b/mobile/android/chrome/geckoview/config.xhtml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> + +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> + <meta name="viewport" content="width=device-width; user-scalable=0" /> + <title>about:config</title> + <meta charset="UTF-8" /> + + <link rel="localization" href="mobile/android/aboutConfig.ftl"/> + <link rel="stylesheet" href="chrome://geckoview/skin/config.css" type="text/css"/> + <script type="text/javascript" src="chrome://geckoview/content/config.js"></script> +</head> + +<body onload="NewPrefDialog.init(); AboutConfig.init();" + onunload="AboutConfig.uninit();"> + + <div class="toolbar"> + <div class="toolbar-container"> + <div id="new-pref-toggle-button" onclick="NewPrefDialog.toggleShowHide();"/> + + <div class="toolbar-item" id="filter-container"> + <div id="filter-search-button"/> + <input id="filter-input" type="search" data-l10n-id="config-toolbar-search" value="" + oninput="AboutConfig.bufferFilterInput();"/> + <div id="filter-input-clear-button" onclick="AboutConfig.clearFilterInput();"/> + </div> + </div> + </div> + + <div id="content" ontouchstart="AboutConfig.filterInput.blur();"> + + <div id="new-pref-container"> + <li class="pref-item" id="new-pref-item"> + <div class="pref-item-line"> + <input class="pref-name" id="new-pref-name" type="text" data-l10n-id="config-new-pref-name" + onfocus="NewPrefDialog.focusName(event);" + oninput="NewPrefDialog.updateName(event);"/> + <select id="new-pref-type" onchange="NewPrefDialog.type = event.target.value;"> + <option value="boolean" data-l10n-id="config-new-pref-value-boolean"></option> + <option value="string" data-l10n-id="config-new-pref-value-string"></option> + <option value="int" data-l10n-id="config-new-pref-value-integer"></option> + </select> + </div> + + <div class="pref-item-line" id="new-pref-line-boolean"> + <input class="pref-value" id="new-pref-value-boolean" disabled="disabled"/> + <div class="pref-button toggle" onclick="NewPrefDialog.toggleBoolValue();" data-l10n-id="config-pref-toggle-button"></div> + </div> + + <div class="pref-item-line" id="new-pref-line-input"> + <input class="pref-value" id="new-pref-value-string" data-l10n-id="config-new-pref-string"/> + <input class="pref-value" id="new-pref-value-int" data-l10n-id="config-new-pref-number" type="number"/> + </div> + + <div class="pref-item-line"> + <div class="pref-button cancel" id="negative-button" onclick="NewPrefDialog.hide();" data-l10n-id="config-new-pref-cancel-button"></div> + <div class="pref-button create" id="positive-button" onclick="NewPrefDialog.create(event);" data-l10n-id="config-new-pref-create-button"></div> + </div> + </li> + </div> + + <div id="prefs-shield"></div> + + <ul id="prefs-container"/> + + <div id="loading-container"></div> + + </div> + + <menu type="context" id="prefs-context-menu"> + <menuitem data-l10n-id="config-context-menu-copy-pref-name" onclick="AboutConfig.clipboardCopy('name');"></menuitem> + <menuitem data-l10n-id="config-context-menu-copy-pref-value" onclick="AboutConfig.clipboardCopy('value');"></menuitem> + </menu> + +</body> +</html> |