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

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

Issue 8524019: Linux: Use --embed for dialogs on KDE3; Clean up dialogs_kde.cc. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/gtk/dialogs_common.h ('k') | chrome/browser/ui/gtk/dialogs_kde.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/dialogs_common.cc
===================================================================
--- chrome/browser/ui/gtk/dialogs_common.cc (revision 109476)
+++ chrome/browser/ui/gtk/dialogs_common.cc (working copy)
@@ -8,9 +8,7 @@
#include "base/environment.h"
#include "base/file_util.h"
-#include "base/message_loop.h"
#include "base/nix/xdg_util.h"
-#include "base/threading/thread.h"
#include "base/threading/thread_restrictions.h"
#include "content/public/browser/browser_thread.h"
@@ -27,7 +25,7 @@
base::nix::GetDesktopEnvironment(env.get());
if (desktop == base::nix::DESKTOP_ENVIRONMENT_KDE3 ||
desktop == base::nix::DESKTOP_ENVIRONMENT_KDE4) {
- return SelectFileDialogImpl::NewSelectFileDialogImplKDE(listener);
+ return SelectFileDialogImpl::NewSelectFileDialogImplKDE(listener, desktop);
}
return SelectFileDialogImpl::NewSelectFileDialogImplGTK(listener);
}
@@ -56,4 +54,3 @@
base::ThreadRestrictions::ScopedAllowIO allow_io;
return file_util::DirectoryExists(path);
}
-
« no previous file with comments | « chrome/browser/ui/gtk/dialogs_common.h ('k') | chrome/browser/ui/gtk/dialogs_kde.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698