summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/top_sites.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 17:17:40 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 17:17:40 +0000
commit74791226c59d1dadfec7d220230e719b99ddcb8e (patch)
tree019f6462e080a110d4ae80d7bcb086dc02ef3f4e /chrome/browser/history/top_sites.h
parent07038787ff601b4a0133a08e3424f2acd6d6265c (diff)
downloadchromium_src-74791226c59d1dadfec7d220230e719b99ddcb8e.zip
chromium_src-74791226c59d1dadfec7d220230e719b99ddcb8e.tar.gz
chromium_src-74791226c59d1dadfec7d220230e719b99ddcb8e.tar.bz2
GTK: Query TopSites for the Most Visited pages and populate fill in the global History menu.
Using TopSites means we'll only get updated on New Tab commands which will kick off the updating procedure, but this should be much less computation heavy than rebuilding on every history commit. BUG=30213 TEST=The Most Visited section on the History menu in the global menu bar is filled with the users TopSites, respecting banned websites, etc. Review URL: http://codereview.chromium.org/6901110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/top_sites.h')
-rw-r--r--chrome/browser/history/top_sites.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h
index 055e0e6..11433a2 100644
--- a/chrome/browser/history/top_sites.h
+++ b/chrome/browser/history/top_sites.h
@@ -292,6 +292,8 @@ class TopSites
void ResetThreadSafeImageCache();
+ void NotifyTopSitesChanged();
+
// Stops and starts timer with a delay of |delta|.
void RestartQueryForTopSitesTimer(base::TimeDelta delta);