summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.h')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.h b/chrome/browser/dom_ui/new_tab_ui.h
index bc60804..e5d1094 100644
--- a/chrome/browser/dom_ui/new_tab_ui.h
+++ b/chrome/browser/dom_ui/new_tab_ui.h
@@ -23,6 +23,11 @@ class NewTabUI : public DOMUI,
explicit NewTabUI(TabContents* manager);
~NewTabUI();
+ // Override DOMUI methods so we can hook up the paint timer to the render
+ // view host.
+ virtual void RenderViewCreated(RenderViewHost* render_view_host);
+ virtual void RenderViewReused(RenderViewHost* render_view_host);
+
static void RegisterUserPrefs(PrefService* prefs);
// Whether we should use the old new tab page.