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

Unified Diff: chrome/browser/ui/extensions/shell_window.h

Issue 10584026: Allow ChromeOS file selection dialog to be shown from shell windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Uses BaseWindow instead of Browser Created 8 years, 6 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/extensions/shell_window.h
diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
index 42050792f59b50687751a07c22eccea0a453e152..ef58f5cc4362e750533b2f4c3bea7f91dba062e0 100644
--- a/chrome/browser/ui/extensions/shell_window.h
+++ b/chrome/browser/ui/extensions/shell_window.h
@@ -61,6 +61,7 @@ class ShellWindow : public content::NotificationObserver,
const SessionID& session_id() const { return session_id_; }
const extensions::Extension* extension() const { return extension_; }
+ TabContents* tab_contents() const { return contents_.get(); }
stevenjb (google-dont-use) 2012/06/22 17:29:00 The UI team prefers a pattern where this should ei
benwells 2012/06/22 21:54:29 Done.
content::WebContents* web_contents() const { return web_contents_; }
protected:

Powered by Google App Engine
This is Rietveld 408576698