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

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

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 | « no previous file | chrome/browser/ui/gtk/dialogs_common.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.h
===================================================================
--- chrome/browser/ui/gtk/dialogs_common.h (revision 109476)
+++ chrome/browser/ui/gtk/dialogs_common.h (working copy)
@@ -9,9 +9,8 @@
#pragma once
#include <set>
-#include <string>
-#include <vector>
+#include "base/nix/xdg_util.h"
#include "chrome/browser/ui/shell_dialogs.h"
// Shared implementation SelectFileDialog used by SelectFileDialogImplGTK
@@ -20,7 +19,9 @@
// Factory method for creating a GTK-styled SelectFileDialogImpl
static SelectFileDialogImpl* NewSelectFileDialogImplGTK(Listener* listener);
// Factory method for creating a KDE-styled SelectFileDialogImpl
- static SelectFileDialogImpl* NewSelectFileDialogImplKDE(Listener* listener);
+ static SelectFileDialogImpl* NewSelectFileDialogImplKDE(
+ Listener* listener,
+ base::nix::DesktopEnvironment desktop);
// BaseShellDialog implementation.
virtual bool IsRunning(gfx::NativeWindow parent_window) const;
@@ -69,5 +70,3 @@
};
#endif // CHROME_BROWSER_UI_GTK_DIALOGS_COMMON_H_
-
-
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/dialogs_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698