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

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

Issue 14805004: InstantExtended: Prevent spurious themechanged/mostvisitedchanged events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use Did<item>Change methods Created 7 years, 8 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 | « no previous file | chrome/renderer/searchbox/searchbox.cc » ('j') | chrome/renderer/searchbox/searchbox.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 6b6e600222e5086f6ed34364a757445169886117..b722c62972664c6c63a46f0767f2273da0ffc1e6 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -134,12 +134,14 @@ class SearchBox : public content::RenderViewObserver,
void OnKeyCaptureChange(bool is_key_capture_enabled);
void OnSetDisplayInstantResults(bool display_instant_results);
void OnThemeChanged(const ThemeBackgroundInfo& theme_info);
+ bool DidThemeInfoChange(const ThemeBackgroundInfo& theme_info);
void OnThemeAreaHeightChanged(int height);
void OnFontInformationReceived(const string16& omnibox_font,
size_t omnibox_font_size);
void OnMostVisitedChanged(
const std::vector<InstantMostVisitedItemIDPair>& items);
-
+ bool DidMostVisitedItemsChange(
+ const std::vector<InstantMostVisitedItemIDPair>& items);
// Returns the current zoom factor of the render view or 1 on failure.
double GetZoom() const;
« no previous file with comments | « no previous file | chrome/renderer/searchbox/searchbox.cc » ('j') | chrome/renderer/searchbox/searchbox.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698