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

Unified Diff: ui/base/linux_ui.h

Issue 10829021: Use current gtk dialogs in linux_aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make gtk window transient to aura window Created 8 years, 5 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: ui/base/linux_ui.h
diff --git a/ui/base/linux_ui.h b/ui/base/linux_ui.h
index 53327207390f384d2b277c1741a00bee2ed9c10f..1e7e8ebd53014c24fa7c12705df915177b777cab 100644
--- a/ui/base/linux_ui.h
+++ b/ui/base/linux_ui.h
@@ -5,6 +5,8 @@
#ifndef UI_BASE_LINUX_UI_H_
#define UI_BASE_LINUX_UI_H_
+#include "ui/base/dialogs/select_file_dialog.h"
+#include "ui/base/dialogs/select_file_policy.h"
Daniel Erat 2012/07/27 17:21:56 nit: just forward-declare SelectFilePolicy in the
#include "ui/base/ui_export.h"
#include "third_party/skia/include/core/SkColor.h"
@@ -42,6 +44,11 @@ class UI_EXPORT LinuxUI {
virtual bool UseNativeTheme() const = 0;
virtual gfx::Image* GetThemeImageNamed(int id) const = 0;
virtual bool GetColor(int id, SkColor* color) const = 0;
+
+ // Returns a native file selection dialog.
+ virtual SelectFileDialog* CreateSelectFileDialog(
+ SelectFileDialog::Listener* listener,
+ SelectFilePolicy* policy) const = 0;
};
} // namespace ui
« ui/base/dialogs/select_file_dialog.cc ('K') | « ui/base/dialogs/select_file_dialog.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698