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

Unified Diff: ui/shell_dialogs/select_file_dialog.h

Issue 1233913009: Make File-Picker modal on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: close the file-picker when the test is done. Created 5 years, 3 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/shell_dialogs/select_file_dialog.h
diff --git a/ui/shell_dialogs/select_file_dialog.h b/ui/shell_dialogs/select_file_dialog.h
index b5c877b541c361230604320952c5503d91382d50..e7ec4f9035886bd268e54e31142ab607a3c194f0 100644
--- a/ui/shell_dialogs/select_file_dialog.h
+++ b/ui/shell_dialogs/select_file_dialog.h
@@ -170,6 +170,7 @@ class SHELL_DIALOGS_EXPORT SelectFileDialog
const base::FilePath::StringType& default_extension,
gfx::NativeWindow owning_window,
void* params);
+ void Close();
bool HasMultipleFileTypeChoices();
// Sets the global ShellDialogsDelegate. Defaults to NULL.
@@ -194,6 +195,8 @@ class SHELL_DIALOGS_EXPORT SelectFileDialog
gfx::NativeWindow owning_window,
void* params) = 0;
+ virtual void CloseImpl() = 0;
msw 2015/09/23 17:12:21 Give this base class a CloseImpl definition that j
+
// Returns the global ShellDialogsDelegate instance if any.
ShellDialogsDelegate* GetShellDialogsDelegate();

Powered by Google App Engine
This is Rietveld 408576698