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

Side by Side Diff: chrome/browser/resources/predictors/autocomplete_action_predictor.js

Issue 10836013: Remove vestigial web ui element. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Requests the database from the backend. 6 * Requests the database from the backend.
7 */ 7 */
8 function requestAutocompleteActionPredictorDb() { 8 function requestAutocompleteActionPredictorDb() {
9 chrome.send('requestAutocompleteActionPredictorDb'); 9 chrome.send('requestAutocompleteActionPredictorDb');
10 } 10 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 entry.hit_count; 65 entry.hit_count;
66 row.appendChild(document.createElement('td')).textContent = 66 row.appendChild(document.createElement('td')).textContent =
67 entry.miss_count; 67 entry.miss_count;
68 row.appendChild(document.createElement('td')).textContent = 68 row.appendChild(document.createElement('td')).textContent =
69 entry.confidence; 69 entry.confidence;
70 70
71 databaseSection.appendChild(row); 71 databaseSection.appendChild(row);
72 } 72 }
73 } 73 }
74 $('countBanner').textContent = 'Entries: ' + databaseSection.children.length; 74 $('countBanner').textContent = 'Entries: ' + databaseSection.children.length;
75 $('countBanner').textContent += ' Hit Weight: ' + database.hit_weight;
76 } 75 }
77 76
78 document.addEventListener('DOMContentLoaded', 77 document.addEventListener('DOMContentLoaded',
79 requestAutocompleteActionPredictorDb); 78 requestAutocompleteActionPredictorDb);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698