• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML>
2<html>
3<head>
4  <meta charset="utf-8">
5  <title>Omnibox Debug Page</title>
6  <link rel="stylesheet" href="omnibox.css">
7  <script src="chrome://resources/js/cr.js"></script>
8  <script src="chrome://resources/js/util.js"></script>
9  <script src="omnibox.js"></script>
10</head>
11<body>
12  <div class="input-section">
13    <form id="omnibox-input-form" action="">
14      <p>
15        Enter omnibox input text:
16        <input id="input-text" type="text" size="40" autofocus>
17        <input type="submit">
18      </p>
19      <p>Input parameters:</p>
20      <p>
21        <label>
22          <input id="prevent-inline-autocomplete" type="checkbox">
23          Prevent inline autocomplete
24        </label>
25      </p>
26      <p>
27        <label>
28          <input id="prefer-keyword" type="checkbox">
29          In keyword mode
30        </label>
31      </p>
32      <p>
33        Current page context:
34        <select id="page-classification">
35          <option value="0">Invalid spec</option>
36          <option value="1">(OBSOLETE) new tab page</option>
37          <option value="2">about:blank</option>
38          <option value="3">user's home page</option>
39          <option value="4">arbitrary URL</option>
40          <option value="6">search result page doing search term replacement</option>
41          <option value="9">search result page not doing search term replacement</option>
42          <option value="7" selected>new tab page with focus in omnibox</option>
43          <option value="8">new tab page with focus in fakebox</option>
44        </select>
45      </p>
46      <p>Display parameters:</p>
47      <p>
48        <label>
49          <input id="show-incomplete-results" type="checkbox">
50          Show incomplete results
51        </label>
52      </p>
53      <p>
54        <label>
55          <input id="show-details" type="checkbox">
56          Show all details
57        </label>
58      </p>
59      <p>
60        <label>
61          <input id="show-all-providers" type="checkbox">
62          Show results per provider, not just merged results
63        </label>
64      </p>
65    </form>
66  </div>
67  <div id="omnibox-debug-text"></div>
68</body>
69</html>
70