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

Side by Side Diff: chrome/browser/autocomplete/search_provider.h

Issue 18878007: Omnibox: Make the Controller Reorder Matches for Inlining (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
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 // This file contains the Search autocomplete provider. This provider is 5 // This file contains the Search autocomplete provider. This provider is
6 // responsible for all autocomplete entries that start with "Search <engine> 6 // responsible for all autocomplete entries that start with "Search <engine>
7 // for ...", including searching for the current input string, search 7 // for ...", including searching for the current input string, search
8 // history, and search suggestions. An instance of it gets created and 8 // history, and search suggestions. An instance of it gets created and
9 // managed by the autocomplete controller. 9 // managed by the autocomplete controller.
10 10
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 // Start margin of the omnibox. Used to construct search URLs. 527 // Start margin of the omnibox. Used to construct search URLs.
528 int omnibox_start_margin_; 528 int omnibox_start_margin_;
529 529
530 // If true, search history query suggestions will score low enough that 530 // If true, search history query suggestions will score low enough that
531 // they will not be inlined. 531 // they will not be inlined.
532 bool prevent_search_history_inlining_; 532 bool prevent_search_history_inlining_;
533 533
534 // If true, no search history query suggestions will be offered. 534 // If true, no search history query suggestions will be offered.
535 bool disable_search_history_; 535 bool disable_search_history_;
536 536
537 // True if the omnibox will reorder matches as necessary to make the top
538 // result inlineable.
539 bool omnibox_will_reorder_for_inlining_;
540
537 DISALLOW_COPY_AND_ASSIGN(SearchProvider); 541 DISALLOW_COPY_AND_ASSIGN(SearchProvider);
538 }; 542 };
539 543
540 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ 544 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698