Chromium Code Reviews| Index: ui/base/win/open_file_name_win.h |
| diff --git a/ui/base/win/open_file_name_win.h b/ui/base/win/open_file_name_win.h |
| index 79a71854ff5cd54f033a1a39a9431e397074c2f6..bdf01f49f293696a48dd10870cd91a74eabe9bbb 100644 |
| --- a/ui/base/win/open_file_name_win.h |
| +++ b/ui/base/win/open_file_name_win.h |
| @@ -40,6 +40,12 @@ class UI_BASE_EXPORT OpenFileName { |
| void SetInitialSelection(const base::FilePath& initial_directory, |
| const base::FilePath& initial_filename); |
| + // The save as dialog on Windows XP remembers its last position, and if the |
| + // screen resolution has changed it may be off screen. This method will check |
| + // if we are running on XP and if so install a hook to reposition the dialog |
| + // if necessary. |
| + void MaybeInstallWindowPositionHookForSaveAsOnXP(); |
|
sky
2014/08/19 17:02:51
Rather than hooking is there a way to force a part
erikwright (departed)
2014/08/19 17:09:15
Possibly. Again, this is just existing code moved
|
| + |
| // Returns the single selected file, or an empty path if there are more or |
| // less than one results. |
| base::FilePath GetSingleResult(); |