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

Unified Diff: chrome/browser/ui/views/tab_contents/tab_contents_container.h

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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: chrome/browser/ui/views/tab_contents/tab_contents_container.h
===================================================================
--- chrome/browser/ui/views/tab_contents/tab_contents_container.h (revision 116109)
+++ chrome/browser/ui/views/tab_contents/tab_contents_container.h (working copy)
@@ -14,7 +14,6 @@
class NativeTabContentsContainer;
class RenderViewHost;
class RenderWidgetHostView;
-class TabContents;
namespace content {
class WebContents;
@@ -26,8 +25,8 @@
TabContentsContainer();
virtual ~TabContentsContainer();
- // Changes the TabContents associated with this view.
- void ChangeTabContents(TabContents* contents);
+ // Changes the WebContents associated with this view.
+ void ChangeWebContents(content::WebContents* contents);
View* GetFocusView() { return native_container_->GetView(); }
@@ -84,8 +83,8 @@
// view handle associated with the attached TabContents.
NativeTabContentsContainer* native_container_;
- // The attached TabContents.
- TabContents* tab_contents_;
+ // The attached WebContents.
+ content::WebContents* web_contents_;
// Handles registering for our notifications.
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698