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

Unified Diff: chrome/browser/ui/views/shell_dialogs_aura.cc

Issue 7941014: Use extension-based file picker from CrOS for Aura builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_touchui Created 9 years, 3 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/views/file_manager_dialog.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/shell_dialogs_aura.cc
diff --git a/chrome/browser/ui/views/shell_dialogs_aura.cc b/chrome/browser/ui/views/shell_dialogs_aura.cc
index b3f10d0eafced5c609bddf6b804bcd9baa51fe4d..2548b9a34c17a376754c29596dd13773e78732a6 100644
--- a/chrome/browser/ui/views/shell_dialogs_aura.cc
+++ b/chrome/browser/ui/views/shell_dialogs_aura.cc
@@ -4,7 +4,11 @@
#include "chrome/browser/ui/shell_dialogs.h"
+#include "chrome/browser/ui/views/file_manager_dialog.h"
+#include "content/browser/browser_thread.h"
+
// static
SelectFileDialog* SelectFileDialog::Create(Listener* listener) {
- return NULL;
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ return new FileManagerDialog(listener);
}
« no previous file with comments | « chrome/browser/ui/views/file_manager_dialog.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698