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

Unified Diff: ui/base/win/open_file_name_win.h

Issue 487453002: Experimentally isolate GetSaveFileName in a utility process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small cleanups. Created 6 years, 4 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/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();

Powered by Google App Engine
This is Rietveld 408576698