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

Unified Diff: chrome/browser/ui/views/extensions/extension_dialog.h

Issue 7830024: CrOS - Fix file picker to route callbacks using TabContents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/extensions/extension_dialog.h
diff --git a/chrome/browser/ui/views/extensions/extension_dialog.h b/chrome/browser/ui/views/extensions/extension_dialog.h
index 741b2c4b8478611067c1173e27c6bd30f13f63fd..654aad1f25e61f381572762d0e592f0a589010a8 100644
--- a/chrome/browser/ui/views/extensions/extension_dialog.h
+++ b/chrome/browser/ui/views/extensions/extension_dialog.h
@@ -17,6 +17,7 @@ class ExtensionDialogObserver;
class ExtensionHost;
class GURL;
class Profile;
+class TabContents;
namespace views {
class View;
@@ -35,8 +36,10 @@ class ExtensionDialog : public views::WidgetDelegate,
// Create and show a dialog with |url| centered over the browser window.
// |browser| is the browser to which the pop-up will be attached.
+ // |tab_contents| is the tab that spawned the dialog.
// |width| and |height| are the size of the dialog in pixels.
static ExtensionDialog* Show(const GURL& url, Browser* browser,
+ TabContents* tab_contents,
int width,
int height,
ExtensionDialogObserver* observer);

Powered by Google App Engine
This is Rietveld 408576698