| Index: chrome/browser/resources/predictors/predictors.html
|
| diff --git a/chrome/browser/resources/predictors/predictors.html b/chrome/browser/resources/predictors/predictors.html
|
| index 4d03afad027f6b48b0e7a6ecd32e02fb04a16e95..51e19d78c783eeb31135169a64a51110808307be 100644
|
| --- a/chrome/browser/resources/predictors/predictors.html
|
| +++ b/chrome/browser/resources/predictors/predictors.html
|
| @@ -1,38 +1,39 @@
|
| <!DOCTYPE HTML>
|
| -<html>
|
| +<html i18n-values="dir:textdirection;">
|
| <head>
|
| - <meta charset="utf-8">
|
| - <title>Autocomplete Action Predictor</title>
|
| - <link rel="stylesheet" href="predictors.css">
|
| + <title>Predictors</title>
|
| + <link rel="stylesheet" href="chrome://resources/css/list.css">
|
| + <link rel="stylesheet" href="chrome://resources/css/tabs.css">
|
| + <link rel="stylesheet" href="chrome://resources/css/tree.css">
|
| +
|
| + <style>
|
| + <include src="predictors.css">
|
| + </style>
|
| +
|
| + <!-- List stuff. -->
|
| + <script src="chrome://resources/js/cr.js"></script>
|
| + <script src="chrome://resources/js/cr/ui.js"></script>
|
| + <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
|
| + <script src="chrome://resources/js/cr/ui/tabs.js"></script>
|
| <script src="chrome://resources/js/util.js"></script>
|
| - <script src="chrome://predictors/predictors.js">
|
| - </script>
|
| </head>
|
| +
|
| <body>
|
| - <div id="enabledMode" hidden>
|
| - <label>
|
| - <input id="filter" type="checkbox" disabled>
|
| - Filter zero confidences
|
| - </label>
|
| - <h2 id="countBanner"></h2>
|
| - <!-- TODO(dominich): Sorting. -->
|
| - <table id="databaseTable">
|
| - <thead>
|
| - <tr>
|
| - <th>User Text</th>
|
| - <th>URL</th>
|
| - <th>Hit Count</th>
|
| - <th>Miss Count</th>
|
| - <th>Confidence</th>
|
| - </tr>
|
| - </thead>
|
| - <tbody id="databaseTableBody">
|
| - </tbody>
|
| - </table>
|
| - </div>
|
| - <div id="disabledMode" hidden>
|
| - <p>Autocomplete Action Predictor is disabled.</p>
|
| - </div>
|
| + <tabbox id="predictor-page">
|
| + <tabs>
|
| + <tab>Autocomplete Action Predictor</tab>
|
| + <tab>Resource Prefetch Predictor</tab>
|
| + </tabs>
|
| + <tabpanels>
|
| + <tabpanel>
|
| + <include src="autocomplete_action_predictor.html" />
|
| + </tabpanel>
|
| + <tabpanel>
|
| + <include src="resource_prefetch_predictor.html" />
|
| + </tabpanel>
|
| + </tabpanels>
|
| + </tabbox>
|
| <script src="chrome://resources/js/jstemplate_compiled.js"></script>
|
| + <script src="chrome://predictors/predictors.js"></script>
|
| </body>
|
| </html>
|
|
|