| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |