summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/shell_dialogs_aura.cc
blob: 3e9c0cb325352c9dad3da14b603a27a0c702fc21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {
  DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
#if defined(OS_WIN)
  return NULL;
#else
  return new FileManagerDialog(listener);
#endif
}