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

Unified Diff: chrome/browser/ui/gtk/select_file_dialog_impl.cc

Issue 10698053: Breaks compile on Linux Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/gtk/select_file_dialog_impl.cc
===================================================================
--- chrome/browser/ui/gtk/select_file_dialog_impl.cc (revision 144942)
+++ chrome/browser/ui/gtk/select_file_dialog_impl.cc (working copy)
@@ -30,8 +30,7 @@
FilePath* SelectFileDialogImpl::last_opened_path_ = NULL;
// static
-SelectFileDialog* SelectFileDialog::Create(Listener* listener,
- ui::SelectFilePolicy* policy) {
+SelectFileDialog* SelectFileDialog::Create(Listener* listener) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (use_kde_ == UNKNOWN) {
// Start out assumimg we are not going to use KDE.
@@ -54,18 +53,16 @@
}
if (use_kde_ == NO_KDE)
- return SelectFileDialogImpl::NewSelectFileDialogImplGTK(listener, policy);
+ return SelectFileDialogImpl::NewSelectFileDialogImplGTK(listener);
scoped_ptr<base::Environment> env(base::Environment::Create());
base::nix::DesktopEnvironment desktop =
base::nix::GetDesktopEnvironment(env.get());
- return SelectFileDialogImpl::NewSelectFileDialogImplKDE(
- listener, policy, desktop);
+ return SelectFileDialogImpl::NewSelectFileDialogImplKDE(listener, desktop);
}
-SelectFileDialogImpl::SelectFileDialogImpl(Listener* listener,
- ui::SelectFilePolicy* policy)
- : SelectFileDialog(listener, policy),
+SelectFileDialogImpl::SelectFileDialogImpl(Listener* listener)
+ : SelectFileDialog(listener),
file_type_index_(0),
type_(SELECT_NONE) {
if (!last_saved_path_) {
« no previous file with comments | « chrome/browser/ui/gtk/select_file_dialog_impl.h ('k') | chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698