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

Unified Diff: content/public/renderer/render_view.h

Issue 1674543004: Separate RenderView from RenderWidget, part 1: inheritance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderwidgettest
Patch Set: Created 4 years, 10 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 | « no previous file | content/public/renderer/render_view_observer.h » ('j') | content/renderer/render_view_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_view.h
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index d02fa8f537dce23fb787f3add73f7c7630196a34..362d6d6da055b97f77ff579b3c768584c081b4ba 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -38,6 +38,7 @@ class Size;
namespace content {
class RenderFrame;
+class RenderWidget;
class RenderViewVisitor;
struct SSLStatus;
struct WebPreferences;
@@ -66,6 +67,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
static void ApplyWebPreferences(const WebPreferences& preferences,
blink::WebView* web_view);
+ // Returns the RenderWidget for this RenderView.
+ virtual RenderWidget* GetWidget() const = 0;
+
// Returns the main RenderFrame.
virtual RenderFrame* GetMainRenderFrame() = 0;
« no previous file with comments | « no previous file | content/public/renderer/render_view_observer.h » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698