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

Unified Diff: chrome/browser/ui/gtk/tabs/drag_data.cc

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again 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
« no previous file with comments | « chrome/browser/ui/gtk/tabs/drag_data.h ('k') | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/tabs/drag_data.cc
===================================================================
--- chrome/browser/ui/gtk/tabs/drag_data.cc (revision 116244)
+++ chrome/browser/ui/gtk/tabs/drag_data.cc (working copy)
@@ -10,6 +10,8 @@
#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/web_contents_delegate.h"
+using content::WebContents;
+
DraggedTabData::DraggedTabData()
: tab_(NULL),
contents_(NULL),
@@ -97,9 +99,9 @@
return GetSourceTabData()->contents_;
}
-TabContents* DragData::GetSourceTabContents() {
+WebContents* DragData::GetSourceWebContents() {
TabContentsWrapper* contents = GetSourceTabData()->contents_;
- return contents ? contents->tab_contents(): NULL;
+ return contents ? contents->web_contents(): NULL;
}
DraggedTabData* DragData::GetSourceTabData() {
« no previous file with comments | « chrome/browser/ui/gtk/tabs/drag_data.h ('k') | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698