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

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: initialize the variables with 0, fix coding style issues. 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_focus_uitest.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/select_file_dialog.h
diff --git a/ui/shell_dialogs/select_file_dialog.h b/ui/shell_dialogs/select_file_dialog.h
index b5c877b541c361230604320952c5503d91382d50..0669cfa3f701b8a5fd023f0ddfee55213199f446 100644
--- a/ui/shell_dialogs/select_file_dialog.h
+++ b/ui/shell_dialogs/select_file_dialog.h
@@ -170,6 +170,10 @@ class SHELL_DIALOGS_EXPORT SelectFileDialog
const base::FilePath::StringType& default_extension,
gfx::NativeWindow owning_window,
void* params);
+
+ // Close the file-picker by sending an ESC key event to it.
msw 2015/10/23 22:33:26 nit: technically the ESC key technique is specific
+ virtual void Close();
+
bool HasMultipleFileTypeChoices();
// Sets the global ShellDialogsDelegate. Defaults to NULL.
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ('k') | ui/shell_dialogs/select_file_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698