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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 18095002: Merge 208596 "Pipe a bit down to the InstantExtended new tab pag..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1547/src/
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chrome/renderer/resources/extensions/searchbox_api.js ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.h
===================================================================
--- chrome/renderer/searchbox/searchbox.h (revision 208940)
+++ chrome/renderer/searchbox/searchbox.h (working copy)
@@ -76,6 +76,7 @@
bool display_instant_results() const { return display_instant_results_; }
const string16& omnibox_font() const { return omnibox_font_; }
size_t omnibox_font_size() const { return omnibox_font_size_; }
+ bool app_launcher_enabled() const { return app_launcher_enabled_; }
// In extended Instant, returns the start-edge margin of the location bar in
// screen pixels.
@@ -168,6 +169,7 @@
void OnThemeAreaHeightChanged(int height);
void OnFontInformationReceived(const string16& omnibox_font,
size_t omnibox_font_size);
+ void OnPromoInformationReceived(bool is_app_launcher_enabled);
void OnMostVisitedChanged(
const std::vector<InstantMostVisitedItem>& items);
void OnToggleVoiceSearch();
@@ -198,6 +200,7 @@
bool display_instant_results_;
string16 omnibox_font_;
size_t omnibox_font_size_;
+ bool app_launcher_enabled_;
InstantRestrictedIDCache<InstantAutocompleteResult>
autocomplete_results_cache_;
InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_;
« no previous file with comments | « chrome/renderer/resources/extensions/searchbox_api.js ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698