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

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

Issue 9478015: Aura: Build on the linux desktop, plus add USE_ASH. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try to minimize shell.h change Created 8 years, 10 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/select_file_dialog_aura.cc
diff --git a/chrome/browser/ui/views/select_file_dialog_aura.cc b/chrome/browser/ui/views/select_file_dialog_aura.cc
index 74f8088a1f1c085b97494ebf8b6aa6426a5e80e9..51aa16db163c8556f5c6dbca7282fd940128960a 100644
--- a/chrome/browser/ui/views/select_file_dialog_aura.cc
+++ b/chrome/browser/ui/views/select_file_dialog_aura.cc
@@ -12,9 +12,9 @@ using content::BrowserThread;
// static
SelectFileDialog* SelectFileDialog::Create(Listener* listener) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
-#if defined(OS_WIN)
- return NULL;
+#if defined(USE_ASH) && defined(FILE_MANAGER_EXTENSION)
+ return SelectFileDialogExtension::Create(listener);
#else
- return new SelectFileDialogExtension(listener);
+ return NULL;
#endif
}

Powered by Google App Engine
This is Rietveld 408576698