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

Unified Diff: chrome/browser/ui/gtk/web_intent_picker_gtk.h

Issue 11414286: Remove unneeded TabContents::FromWebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 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
Index: chrome/browser/ui/gtk/web_intent_picker_gtk.h
diff --git a/chrome/browser/ui/gtk/web_intent_picker_gtk.h b/chrome/browser/ui/gtk/web_intent_picker_gtk.h
index fe473c445ffdcc688ed53d999438694d56a1900c..127c8a59194b28e11dc5b3288dab92967ea5e3dc 100644
--- a/chrome/browser/ui/gtk/web_intent_picker_gtk.h
+++ b/chrome/browser/ui/gtk/web_intent_picker_gtk.h
@@ -27,7 +27,6 @@ class GtkSignalRegistrar;
class CustomDrawButton;
class GURL;
-class TabContents;
class ThrobberGtk;
class WebIntentPickerDelegate;
class WaitingDialog;
@@ -38,7 +37,7 @@ class WebIntentPickerGtk : public WebIntentPicker,
public ConstrainedWindowGtkDelegate,
public content::NotificationObserver {
public:
- WebIntentPickerGtk(TabContents* tab_contents,
+ WebIntentPickerGtk(content::WebContents* tab_contents,
WebIntentPickerDelegate* delegate,
WebIntentPickerModel* model);
virtual ~WebIntentPickerGtk();
@@ -136,7 +135,7 @@ class WebIntentPickerGtk : public WebIntentPicker,
void RemoveThrobber();
// A weak pointer to the tab contents on which to display the picker UI.
- TabContents* tab_contents_;
+ content::WebContents* web_contents_;
// A weak pointer to the WebIntentPickerDelegate to notify when the user
// chooses a service or cancels.
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_controller.cc ('k') | chrome/browser/ui/gtk/web_intent_picker_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698