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

Side by Side Diff: chrome/browser/resources/snippets_internals.html

Issue 2346263002: Extending the UserClassifier to actually support classification. (Closed)
Patch Set: Comments of Tim and Marc Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright 2016 The Chromium Authors. All rights reserved. 2 Copyright 2016 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 <!DOCTYPE html> 6 <!DOCTYPE html>
7 <meta charset="utf-8"> 7 <meta charset="utf-8">
8 <if expr="is_android or is_ios"> 8 <if expr="is_android or is_ios">
9 <meta name="viewport" content="width=device-width, initial-scale=1.0, 9 <meta name="viewport" content="width=device-width, initial-scale=1.0,
10 maximum-scale=1.0, user-scalable=no"> 10 maximum-scale=1.0, user-scalable=no">
(...skipping 30 matching lines...) Expand all
41 <td id="switch-restrict-to-hosts" class="value"> 41 <td id="switch-restrict-to-hosts" class="value">
42 <tr> 42 <tr>
43 <td class="name">Snippets type 43 <td class="name">Snippets type
44 <td id="switch-personalized" class="value"> 44 <td id="switch-personalized" class="value">
45 <tr> 45 <tr>
46 <td class="name">Snippets fetch URL 46 <td class="name">Snippets fetch URL
47 <td id="switch-fetch-url" class="value"> 47 <td id="switch-fetch-url" class="value">
48 </table> 48 </table>
49 </div> 49 </div>
50 50
51 <div>
52 <h2>UserClassifier</h2>
53 <table class="section-details">
54 <tr>
55 <td class="name">User class
56 <td id="user-class" class="value">
57 <tr>
58 <td class="name">Estimated average time to open NTP
59 <td id="avg-time-to-open-ntp" class="value">
60 <tr>
61 <td class="name">Estimated average time to show suggestions
62 <td id="avg-time-to-show" class="value">
63 <tr>
64 <td class="name">Estimated average time to use suggestions
65 <td id="avg-time-to-use" class="value">
66 </table>
67 <input id="clear-classification" type="submit"
68 value="Clear my classification">
69 </div>
70
51 <div id="snippets"> 71 <div id="snippets">
52 <h2>NTPSnippetsService</h2> 72 <h2>NTPSnippetsService</h2>
53 <div class="forms"> 73 <div class="forms">
54 <input id="submit-download" type="submit" value="Add snippets"> 74 <input id="submit-download" type="submit" value="Add snippets">
55 <span id="hosts-restrict">from hosts <span class="detail">(specify at 75 <span id="hosts-restrict">from hosts <span class="detail">(specify at
56 least one host)</span>: 76 least one host)</span>:
57 <textarea id="hosts-input" placeholder="www.wired.com www.bbc.co.uk" 77 <textarea id="hosts-input" placeholder="www.wired.com www.bbc.co.uk"
58 rows="5" autocapitalize="none"></textarea> 78 rows="5" autocapitalize="none"></textarea>
59 </span> 79 </span>
60 <span id="hosts-status" class="detail"></span> 80 <span id="hosts-status" class="detail"></span>
61 </div> 81 </div>
62 </div> 82 </div>
63 83
64 <div id="last-json" class="hidden"> 84 <div id="last-json" class="hidden">
65 <h2>Last JSON from Server</h2> 85 <h2>Last JSON from Server</h2>
66 <a id="last-json-button">Show the last JSON &gt;&gt;</a> 86 <a id="last-json-button">Show the last JSON &gt;&gt;</a>
67 <div id="last-json-container" class="hidden"> 87 <div id="last-json-container" class="hidden">
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 <tr> 191 <tr>
172 <td>Publisher name 192 <td>Publisher name
173 <td jscontent="publisherName"> 193 <td jscontent="publisherName">
174 </table> 194 </table>
175 </div> 195 </div>
176 </table> 196 </table>
177 </div> 197 </div>
178 <div class="detail" id="content-suggestions-empty"></div> 198 <div class="detail" id="content-suggestions-empty"></div>
179 </div> 199 </div>
180 </div> 200 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698