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

Side by Side Diff: chrome/browser/resources/omnibox/omnibox.js

Issue 1129733006: Omnibox - Code Cleanup - Remove Unnecessary is_history_what_you_typed_match (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
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 * Javascript for omnibox.html, served from chrome://omnibox/ 6 * Javascript for omnibox.html, served from chrome://omnibox/
7 * This is used to debug omnibox ranking. The user enters some text 7 * This is used to debug omnibox ranking. The user enters some text
8 * into a box, submits it, and then sees lots of debug information 8 * into a box, submits it, and then sees lots of debug information
9 * from the autocompleter that shows what omnibox would do with that 9 * from the autocompleter that shows what omnibox would do with that
10 * input. 10 * input.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 'The result score. Higher is more relevant.'), 128 'The result score. Higher is more relevant.'),
129 new PresentationInfoRecord('Contents', '', 'contents', true, 129 new PresentationInfoRecord('Contents', '', 'contents', true,
130 'The text that is presented identifying the result.'), 130 'The text that is presented identifying the result.'),
131 new PresentationInfoRecord( 131 new PresentationInfoRecord(
132 'Can Be Default', '', 'allowed_to_be_default_match', false, 132 'Can Be Default', '', 'allowed_to_be_default_match', false,
133 'A green checkmark indicates that the result can be the default ' + 133 'A green checkmark indicates that the result can be the default ' +
134 'match (i.e., can be the match that pressing enter in the omnibox ' + 134 'match (i.e., can be the match that pressing enter in the omnibox ' +
135 'navigates to).'), 135 'navigates to).'),
136 new PresentationInfoRecord('Starred', '', 'starred', false, 136 new PresentationInfoRecord('Starred', '', 'starred', false,
137 'A green checkmark indicates that the result has been bookmarked.'), 137 'A green checkmark indicates that the result has been bookmarked.'),
138 new PresentationInfoRecord(
139 'HWYT', '', 'is_history_what_you_typed_match', false,
140 'A green checkmark indicates that the result is an History What You ' +
141 'Typed Match'),
142 new PresentationInfoRecord('Description', '', 'description', false, 138 new PresentationInfoRecord('Description', '', 'description', false,
143 'The page title of the result.'), 139 'The page title of the result.'),
144 new PresentationInfoRecord('URL', '', 'destination_url', true, 140 new PresentationInfoRecord('URL', '', 'destination_url', true,
145 'The URL for the result.'), 141 'The URL for the result.'),
146 new PresentationInfoRecord('Fill Into Edit', '', 'fill_into_edit', false, 142 new PresentationInfoRecord('Fill Into Edit', '', 'fill_into_edit', false,
147 'The text shown in the omnibox when the result is selected.'), 143 'The text shown in the omnibox when the result is selected.'),
148 new PresentationInfoRecord( 144 new PresentationInfoRecord(
149 'Inline Autocompletion', '', 'inline_autocompletion', false, 145 'Inline Autocompletion', '', 'inline_autocompletion', false,
150 'The text shown in the omnibox as a blue highlight selection ' + 146 'The text shown in the omnibox as a blue highlight selection ' +
151 'following the cursor, if this match is shown inline.'), 147 'following the cursor, if this match is shown inline.'),
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 }; 435 };
440 436
441 return function() { 437 return function() {
442 var browserProxy = connection.bindHandleToProxy( 438 var browserProxy = connection.bindHandleToProxy(
443 serviceProvider.connectToService( 439 serviceProvider.connectToService(
444 browser.OmniboxUIHandlerMojo.name), 440 browser.OmniboxUIHandlerMojo.name),
445 browser.OmniboxUIHandlerMojo); 441 browser.OmniboxUIHandlerMojo);
446 page = new OmniboxPageImpl(browserProxy); 442 page = new OmniboxPageImpl(browserProxy);
447 }; 443 };
448 }); 444 });
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/zero_suggest_provider.cc ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698