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

Unified Diff: chrome/common/instant_types.h

Issue 14805004: InstantExtended: Prevent spurious themechanged/mostvisitedchanged events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed last set of comments Created 7 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 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/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index 07f4eb457b5dce288f283f5e19f208fd2ae46a6b..20b29b677ba67cd72a3bfe7c1cb6dac3af2032e9 100644
--- a/chrome/common/instant_types.h
+++ b/chrome/common/instant_types.h
@@ -123,6 +123,8 @@ enum ThemeBackgroundImageTiling {
THEME_BKGRND_IMAGE_REPEAT,
};
+// Update IsThemeInfoEqual in chrome/renderer/searchbox/searchbox.cc
+// whenever any fields are added/removed.
struct ThemeBackgroundInfo {
ThemeBackgroundInfo();
~ThemeBackgroundInfo();
@@ -158,6 +160,8 @@ struct ThemeBackgroundInfo {
bool has_attribution;
};
+// Update AreMostVisitedItemsEqual in chrome/renderer/searchbox/searchbox.cc
+// whenever any fields are added/removed.
struct InstantMostVisitedItem {
// The URL of the Most Visited item.
GURL url;
« 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