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

Unified Diff: ui/shell_dialogs/select_file_dialog.h

Issue 1363093004: Add BrowserSelectFileDialogTest.OpenCloseFileDialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enable the test and skip libglib-2.0 from LSan report Created 5 years, 2 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/10/16 17:01:04 What's the point of splitting up Close and CloseIm
joone 2015/10/16 23:33:46 We don't need CloseImpl() so I removed it.
+
// Returns the global ShellDialogsDelegate instance if any.
ShellDialogsDelegate* GetShellDialogsDelegate();

Powered by Google App Engine
This is Rietveld 408576698