blob: 3f34ae2d779c235a6678ac6b56a78baa7543e191 [file] [log] [blame]
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Omnibox Debug Page</title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="omnibox.css">
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/mojo_bindings.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome/browser/ui/webui/omnibox/omnibox.mojom.js"></script>
<script src="omnibox.js"></script>
</head>
<body>
<div class="input-section">
<form id="omnibox-input-form" action="">
<p>
Enter omnibox input text:
<input id="input-text" type="text" size="40" autofocus>
<input type="submit">
</p>
<p>Input parameters:</p>
<p>
<label>
<input id="prevent-inline-autocomplete" type="checkbox">
Prevent inline autocomplete
</label>
</p>
<p>
<label>
<input id="prefer-keyword" type="checkbox">
In keyword mode
</label>
</p>
<p>
Current page context:
<select id="page-classification">
<option value="0">Invalid spec</option>
<option value="1">(OBSOLETE) new tab page</option>
<option value="2">about:blank</option>
<option value="3">user's home page</option>
<option value="4">arbitrary URL</option>
<option value="6">search result page doing search term replacement</option>
<option value="9">search result page not doing search term replacement</option>
<option value="7" selected>new tab page with focus in omnibox</option>
<option value="8">new tab page with focus in fakebox</option>
</select>
</p>
<p>Display parameters:</p>
<p>
<label>
<input id="show-incomplete-results" type="checkbox">
Show incomplete results
</label>
</p>
<p>
<label>
<input id="show-details" type="checkbox">
Show all details
</label>
</p>
<p>
<label>
<input id="show-all-providers" type="checkbox">
Show results per provider, not just merged results
</label>
</p>
</form>
</div>
<div id="omnibox-debug-text"></div>
</body>
</html>