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

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

Issue 10134026: Remove browser from web intents UI code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Browser test compilation Created 8 years, 8 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/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 1d57233a970df7e712f7071b069ef4e1fb706548..7b4aaaf79e2320f976a425df686fff61202e72e0 100644
--- a/chrome/browser/ui/gtk/web_intent_picker_gtk.h
+++ b/chrome/browser/ui/gtk/web_intent_picker_gtk.h
@@ -22,7 +22,6 @@
#include "ui/base/gtk/gtk_signal.h"
#include "ui/base/gtk/owned_widget_gtk.h"
-class Browser;
class CustomDrawButton;
class GURL;
class TabContentsContainerGtk;
@@ -36,8 +35,7 @@ class WebIntentPickerGtk : public WebIntentPicker,
public ConstrainedWindowGtkDelegate,
public content::NotificationObserver {
public:
- WebIntentPickerGtk(Browser* browser,
- TabContentsWrapper* tab_contents,
+ WebIntentPickerGtk(TabContentsWrapper* tab_contents,
WebIntentPickerDelegate* delegate,
WebIntentPickerModel* model);
virtual ~WebIntentPickerGtk();
@@ -141,9 +139,6 @@ class WebIntentPickerGtk : public WebIntentPicker,
// A weak pointer to the constrained window.
ConstrainedWindowGtk* window_;
- // The browser we're in.
- Browser* browser_;
-
// Container for the HTML in the inline disposition case.
scoped_ptr<TabContentsWrapper> inline_disposition_tab_contents_;
« no previous file with comments | « chrome/browser/ui/cocoa/web_intent_sheet_controller_browsertest.mm ('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