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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 9721001: Plumb Guest flag to RenderViewImpl (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated broken render_view_test Created 8 years, 9 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
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 903375379d6f3be848aeb60af1feb075693da1e9..71dd872287f8e713a8f5e6ea84fe35006ad607f9 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -211,6 +211,7 @@ class CONTENT_EXPORT RenderViewHostImpl
virtual void NotifyMoveOrResizeStarted() OVERRIDE;
virtual void ReloadFrame() OVERRIDE;
virtual void SetAltErrorPageURL(const GURL& url) OVERRIDE;
+ void SetGuest(bool guest);
virtual void SetWebUIProperty(const std::string& name,
const std::string& value) OVERRIDE;
virtual void SetZoomLevel(double level) OVERRIDE;
@@ -539,6 +540,9 @@ class CONTENT_EXPORT RenderViewHostImpl
// See BindingsPolicy for details.
int enabled_bindings_;
+ // Indicates whether or not this RenderViewHost refers to a guest RenderView.
+ bool guest_;
+
// The request_id for the pending cross-site request. Set to -1 if
// there is a pending request, but we have not yet started the unload
// for the current page. Set to the request_id value of the pending
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | content/renderer/render_view_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698