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

Side by Side 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 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')
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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 // deliver them. Displaying a window may result in the system generating 579 // deliver them. Displaying a window may result in the system generating
580 // duplicate move events even though the mouse hasn't moved. 580 // duplicate move events even though the mouse hasn't moved.
581 581
582 // If true, the last event was a mouse move event. 582 // If true, the last event was a mouse move event.
583 bool last_mouse_event_was_move_; 583 bool last_mouse_event_was_move_;
584 584
585 // Coordinates of the last mouse move event, in screen coordinates. 585 // Coordinates of the last mouse move event, in screen coordinates.
586 int last_mouse_move_x_; 586 int last_mouse_move_x_;
587 int last_mouse_move_y_; 587 int last_mouse_move_y_;
588 588
589 // Whether the focus should be restored next time we get activated. Needed
590 // to restore focus correctly when Windows modal dialogs are displayed.
591 bool restore_focus_when_enabled_;
592
589 // Instance of accessibility information and handling for MSAA root 593 // Instance of accessibility information and handling for MSAA root
590 ScopedComPtr<IAccessible> accessibility_root_; 594 ScopedComPtr<IAccessible> accessibility_root_;
591 595
592 scoped_ptr<DefaultThemeProvider> default_theme_provider_; 596 scoped_ptr<DefaultThemeProvider> default_theme_provider_;
593 }; 597 };
594 598
595 } // namespace views 599 } // namespace views
596 600
597 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ 601 #endif // 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