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

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

Issue 10667026: Start consolidating cross-port file selection code into ui/base/dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win 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
« no previous file with comments | « chrome/browser/ui/cocoa/select_file_dialog_mac.mm ('k') | chrome/browser/ui/gtk/select_file_dialog_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/select_file_dialog_impl.h
diff --git a/chrome/browser/ui/gtk/select_file_dialog_impl.h b/chrome/browser/ui/gtk/select_file_dialog_impl.h
index 9f7f0facb2d542bf70787b6d5b2ce10c945f5f53..b5fa15c9f772c49a1e8891535f4fa9c39efdb17e 100644
--- a/chrome/browser/ui/gtk/select_file_dialog_impl.h
+++ b/chrome/browser/ui/gtk/select_file_dialog_impl.h
@@ -18,10 +18,13 @@
class SelectFileDialogImpl : public SelectFileDialog {
public:
// Factory method for creating a GTK-styled SelectFileDialogImpl
- static SelectFileDialogImpl* NewSelectFileDialogImplGTK(Listener* listener);
+ static SelectFileDialogImpl* NewSelectFileDialogImplGTK(
+ Listener* listener,
+ ui::SelectFilePolicy* policy);
// Factory method for creating a KDE-styled SelectFileDialogImpl
static SelectFileDialogImpl* NewSelectFileDialogImplKDE(
Listener* listener,
+ ui::SelectFilePolicy* policy,
base::nix::DesktopEnvironment desktop);
// Returns true if the SelectFileDialog class returned by
@@ -33,7 +36,8 @@ class SelectFileDialogImpl : public SelectFileDialog {
virtual void ListenerDestroyed() OVERRIDE;
protected:
- explicit SelectFileDialogImpl(Listener* listener);
+ explicit SelectFileDialogImpl(Listener* listener,
+ ui::SelectFilePolicy* policy);
virtual ~SelectFileDialogImpl();
// SelectFileDialog implementation.
« no previous file with comments | « chrome/browser/ui/cocoa/select_file_dialog_mac.mm ('k') | chrome/browser/ui/gtk/select_file_dialog_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698