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

Unified Diff: content/public/browser/web_ui_controller.h

Issue 10154004: re-use WebUIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WeakPtr solution Created 8 years, 8 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 | « content/public/browser/render_view_host_delegate.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_ui_controller.h
diff --git a/content/public/browser/web_ui_controller.h b/content/public/browser/web_ui_controller.h
index bee5339a15a76becb10ff5ebf80ebc040c64f2f5..61e2ed08d0f41b2db00c873a1e9f134e3e6ff9e2 100644
--- a/content/public/browser/web_ui_controller.h
+++ b/content/public/browser/web_ui_controller.h
@@ -42,17 +42,6 @@ class CONTENT_EXPORT WebUIController {
// Called when a RenderView is reused to display a page.
virtual void RenderViewReused(RenderViewHost* render_view_host) {}
- // Called when this becomes the active WebUI instance for a re-used
- // RenderView; this is the point at which this WebUI instance will receive
- // DOM messages instead of the previous WebUI instance.
- //
- // If a WebUI instance has code that is usually triggered from a JavaScript
- // onload handler, this should be overridden to check to see if the web page's
- // DOM is still intact (e.g., due to a back/forward navigation that remains
- // within the same page), and if so trigger that code manually since onload
- // won't be run in that case.
- virtual void DidBecomeActiveForReusedRenderView() {}
-
WebUI* web_ui() const { return web_ui_; }
private:
« no previous file with comments | « content/public/browser/render_view_host_delegate.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698