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

Unified Diff: views/widget/widget_win.h

Issue 199106: Fix focus bug with shell dialogs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/views/shell_dialogs_win.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_win.h
===================================================================
--- views/widget/widget_win.h (revision 26112)
+++ views/widget/widget_win.h (working copy)
@@ -586,6 +586,10 @@
int last_mouse_move_x_;
int last_mouse_move_y_;
+ // Whether the focus should be restored next time we get activated. Needed
+ // to restore focus correctly when Windows modal dialogs are displayed.
+ bool restore_focus_when_enabled_;
+
// Instance of accessibility information and handling for MSAA root
ScopedComPtr<IAccessible> accessibility_root_;
« no previous file with comments | « chrome/browser/views/shell_dialogs_win.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698