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

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

Issue 9018016: Revert r115276, it broke PanelDownloadTest.Download in interactive_ui_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/tab_contents/test_tab_contents.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index e37458cae82580cd191ff70078913d68e3b4c30d..54e4d686f0f014720442ba56679e0c2a042c16dc 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -9,7 +9,6 @@
#include "base/string16.h"
#include "content/common/content_export.h"
-class NavigationController;
class RenderViewHost;
class RenderWidgetHostView;
// TODO(jam): of course we will have to rename TabContentsView etc to use
@@ -23,6 +22,8 @@ class PropertyBag;
namespace content {
class RenderProcessHost;
+// TODO(jam): of course we will have to rename TabContentsView etc to use
+// WebPage.
class WebContentsDelegate;
// Describes what goes in the main content area of a tab.
@@ -40,17 +41,6 @@ class WebContents {
virtual WebContentsDelegate* GetDelegate() = 0;
virtual void SetDelegate(WebContentsDelegate* delegate) = 0;
- // Gets the controller for this tab contents.
- virtual NavigationController& GetController() = 0;
- virtual const NavigationController& GetController() const = 0;
-
- // Allows overriding the type of this tab.
- virtual void SetViewType(content::ViewType type) = 0;
-
- // Return the currently active RenderProcessHost and RenderViewHost. Each of
- // these may change over time.
- virtual RenderProcessHost* GetRenderProcessHost() const = 0;
-
// Gets the current RenderViewHost for this tab.
virtual RenderViewHost* GetRenderViewHost() const = 0;
« no previous file with comments | « content/browser/tab_contents/test_tab_contents.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698