summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-28 20:08:23 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-28 20:08:23 +0000
commita25ed1573fc2fe0b6b5ecbed1e532b5c0fd1997b (patch)
treee6e7530804273e85f3636677383a39f96d6c0721 /content
parent8001df27f80978c9903e0b105bba726b729a3ecc (diff)
downloadchromium_src-a25ed1573fc2fe0b6b5ecbed1e532b5c0fd1997b.zip
chromium_src-a25ed1573fc2fe0b6b5ecbed1e532b5c0fd1997b.tar.gz
chromium_src-a25ed1573fc2fe0b6b5ecbed1e532b5c0fd1997b.tar.bz2
Attempt at making new tab page more up to date during first run. When
your profile is empty the top sites are rapidly changing, yet we throttle updating to ~30 second intervals (we did this because of perf regressions). This change makes showing the new tab page query history so that we'll update things. BUG=65621 TEST=see bug R=brettw@chromium.org Review URL: http://codereview.chromium.org/6878091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83381 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/common/notification_type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/common/notification_type.h b/content/common/notification_type.h
index d887d40..67511a9 100644
--- a/content/common/notification_type.h
+++ b/content/common/notification_type.h
@@ -683,6 +683,11 @@ class NotificationType {
// Used only in testing.
TOP_SITES_UPDATED,
+ // Sent by TopSites when the either one of the most visited urls changed, or
+ // one of the images changes. The source is the TopSites, the details not
+ // used.
+ TOP_SITES_CHANGED,
+
// Thumbnails---------------------------------------------------------------
// Sent by the ThumbnailGenerator whenever a render widget host