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

Unified Diff: ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc

Issue 14061025: ui: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « ui/message_center/views/message_bubble_base.cc ('k') | ui/shell_dialogs/select_file_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc
diff --git a/ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc b/ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc
index d9685c9c11b65e17cbe9f64eeaae2b5296e1af79..3ac92ec211959109d8b9b289b5b93671556356bd 100644
--- a/ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc
+++ b/ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc
@@ -62,19 +62,26 @@ class SelectFileDialogImplKDE : public ui::SelectFileDialogImpl {
struct KDialogParams {
// This constructor can only be run from the UI thread.
- KDialogParams(const std::string& type, const std::string& title,
- const base::FilePath& default_path, gfx::NativeWindow parent,
- bool file_operation, bool multiple_selection,
+ KDialogParams(const std::string& type,
+ const std::string& title,
+ const base::FilePath& default_path,
+ gfx::NativeWindow parent,
+ bool file_operation,
+ bool multiple_selection,
void* kdialog_params,
- void (SelectFileDialogImplKDE::*callback)(const std::string&,
- int, void*))
- : type(type), title(title), default_path(default_path), parent(parent),
+ void(SelectFileDialogImplKDE::* callback)(const std::string&,
+ int,
+ void*))
+ : type(type),
+ title(title),
+ default_path(default_path),
+ parent(parent),
file_operation(file_operation),
multiple_selection(multiple_selection),
kdialog_params(kdialog_params),
- ui_loop_proxy(MessageLoopForUI::current()->message_loop_proxy()),
- callback(callback) {
- }
+ ui_loop_proxy(
+ base::MessageLoopForUI::current()->message_loop_proxy()),
+ callback(callback) {}
std::string type;
std::string title;
« no previous file with comments | « ui/message_center/views/message_bubble_base.cc ('k') | ui/shell_dialogs/select_file_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698