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

Side by Side Diff: views/widget/widget_win.h

Issue 206004: Merge 26135 - The focus is not restored properly when a Windows modal dialog... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/shell_dialogs_win.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Modified: svn:mergeinfo
Merged /trunk/src/views/widget/widget_win.h:r26135
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VIEWS_WIDGET_WIDGET_WIN_H_ 5 #ifndef VIEWS_WIDGET_WIDGET_WIN_H_
6 #define VIEWS_WIDGET_WIDGET_WIN_H_ 6 #define VIEWS_WIDGET_WIDGET_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 // deliver them. Displaying a window may result in the system generating 626 // deliver them. Displaying a window may result in the system generating
627 // duplicate move events even though the mouse hasn't moved. 627 // duplicate move events even though the mouse hasn't moved.
628 628
629 // If true, the last event was a mouse move event. 629 // If true, the last event was a mouse move event.
630 bool last_mouse_event_was_move_; 630 bool last_mouse_event_was_move_;
631 631
632 // Coordinates of the last mouse move event, in screen coordinates. 632 // Coordinates of the last mouse move event, in screen coordinates.
633 int last_mouse_move_x_; 633 int last_mouse_move_x_;
634 int last_mouse_move_y_; 634 int last_mouse_move_y_;
635 635
636 // Whether the focus should be restored next time we get enabled. Needed to
637 // restore focus correctly when Windows modal dialogs are displayed.
638 bool restore_focus_when_enabled_;
639
636 // Instance of accessibility information and handling for MSAA root 640 // Instance of accessibility information and handling for MSAA root
637 CComPtr<IAccessible> accessibility_root_; 641 CComPtr<IAccessible> accessibility_root_;
638 642
639 scoped_ptr<DefaultThemeProvider> default_theme_provider_; 643 scoped_ptr<DefaultThemeProvider> default_theme_provider_;
640 644
641 // Our hwnd. 645 // Our hwnd.
642 HWND hwnd_; 646 HWND hwnd_;
643 }; 647 };
644 648
645 } // namespace views 649 } // namespace views
646 650
647 #endif // #ifndef VIEWS_WIDGET_WIDGET_WIN_H_ 651 #endif // #ifndef VIEWS_WIDGET_WIDGET_WIN_H_
OLDNEW
« 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