diff options
Diffstat (limited to 'chrome/browser/dom_ui/dom_ui.h')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/dom_ui.h b/chrome/browser/dom_ui/dom_ui.h index fad04e5..d5204b1 100644 --- a/chrome/browser/dom_ui/dom_ui.h +++ b/chrome/browser/dom_ui/dom_ui.h @@ -29,8 +29,16 @@ class DOMUI { explicit DOMUI(TabContents* contents); virtual ~DOMUI(); + // Called by RenderViewHost when the RenderView is first created. This is + // *not* called for every page load because in some cases + // RenderViewHostManager will reuse RenderView instances. In those cases, + // RenderViewReused will be called instead. virtual void RenderViewCreated(RenderViewHost* render_view_host) {} + // Called by RenderViewHostManager when a RenderView is reused to display a + // page. + virtual void RenderViewReused(RenderViewHost* render_view_host) {} + // Called from DOMUIContents. virtual void ProcessDOMUIMessage(const std::string& message, const std::string& content, |