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

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

Issue 1413643002: Separate RenderViewHost from RenderWidgetHost, part 2: public implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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/browser/web_contents/web_contents_view_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index 0114a01dce30cf69b60f1be6e55cd45052029f6e..47af770dec0bd240dd5788cb3bd9b9841c3aa19a 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -250,16 +250,6 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
virtual void GetWebScreenInfo(blink::WebScreenInfo* result) = 0;
// Get the color profile corresponding to this render widget.
virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0;
-
- protected:
- friend class RenderWidgetHostImpl;
-
- // Retrieves the implementation class. Intended only for code
- // within content/. This method is necessary because
- // RenderWidgetHost is the root of a diamond inheritance pattern, so
- // subclasses inherit it virtually, which removes our ability to
- // static_cast to the subclass.
- virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0;
};
} // namespace content
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698