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

Unified Diff: content/renderer/render_view_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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index de9995e556f9a334acb0a798f66da60866f3fd3f..5dcd35af43839630c7bce4b3afc7bc6c24870361 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -186,7 +186,8 @@ class RenderViewImpl : public RenderWidget,
int64 session_storage_namespace_id,
const string16& frame_name,
int32 next_page_id,
- const WebKit::WebScreenInfo& screen_info);
+ const WebKit::WebScreenInfo& screen_info,
+ bool guest);
// Returns the RenderViewImpl containing the given WebView.
CONTENT_EXPORT static RenderViewImpl* FromWebView(WebKit::WebView* webview);
@@ -586,6 +587,7 @@ class RenderViewImpl : public RenderWidget,
virtual bool Send(IPC::Message* message) OVERRIDE;
virtual int GetRoutingID() const OVERRIDE;
+ bool IsGuest() const;
Lei Zhang 2012/03/20 19:30:58 Err, why is this under the "content::RenderView" s
virtual int GetPageId() OVERRIDE;
virtual gfx::Size GetSize() OVERRIDE;
virtual gfx::NativeViewId GetHostWindow() OVERRIDE;
@@ -727,7 +729,8 @@ class RenderViewImpl : public RenderWidget,
int64 session_storage_namespace_id,
const string16& frame_name,
int32 next_page_id,
- const WebKit::WebScreenInfo& screen_info);
+ const WebKit::WebScreenInfo& screen_info,
+ bool guest);
// Do not delete directly. This class is reference counted.
virtual ~RenderViewImpl();
@@ -1295,6 +1298,9 @@ class RenderViewImpl : public RenderWidget,
// DOM automation bindings are enabled.
scoped_ptr<DomAutomationController> dom_automation_controller_;
+ // Indicates whether this RenderView is a guest of another RenderView.
+ bool guest_;
+
// NOTE: pepper_delegate_ should be last member because its constructor calls
// AddObservers method of RenderViewImpl from c-tor.
PepperPluginDelegateImpl pepper_delegate_;
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698