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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 10409088: Get rid of the RenderViewType concept in content, since it was only used by Chrome. Store the enum… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 7 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/web_contents/web_contents_impl.h
===================================================================
--- content/browser/web_contents/web_contents_impl.h (revision 138369)
+++ content/browser/web_contents/web_contents_impl.h (working copy)
@@ -151,8 +151,6 @@
virtual content::NavigationController& GetController() OVERRIDE;
virtual const content::NavigationController& GetController() const OVERRIDE;
virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
- virtual void SetViewType(content::ViewType type) OVERRIDE;
- virtual content::ViewType GetViewType() const OVERRIDE;
virtual content::RenderProcessHost* GetRenderProcessHost() const OVERRIDE;
virtual content::RenderViewHost* GetRenderViewHost() const OVERRIDE;
virtual content::RenderWidgetHostView*
@@ -255,7 +253,6 @@
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
virtual const GURL& GetURL() const OVERRIDE;
virtual WebContents* GetAsWebContents() OVERRIDE;
- virtual content::ViewType GetRenderViewType() const OVERRIDE;
virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
virtual void RenderViewCreated(
content::RenderViewHost* render_view_host) OVERRIDE;
@@ -723,9 +720,6 @@
// (full-page plugins for now only) permissions.
int content_restrictions_;
- // Type of view this WebContents is displaying.
- content::ViewType view_type_;
-
// Color chooser that was opened by this tab.
content::ColorChooser* color_chooser_;

Powered by Google App Engine
This is Rietveld 408576698