Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2942)

Unified Diff: chrome/browser/resources/predictors/predictors.html

Issue 10416002: Seculative resource prefetching for URLs CL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698