| 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> |
| 11 #include <atlmisc.h> | 11 #include <atlmisc.h> |
| 12 | 12 |
| 13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 14 #include "base/scoped_comptr_win.h" |
| 14 #include "base/system_monitor.h" | 15 #include "base/system_monitor.h" |
| 15 #include "base/window_impl.h" | 16 #include "base/window_impl.h" |
| 16 #include "views/focus/focus_manager.h" | 17 #include "views/focus/focus_manager.h" |
| 17 #include "views/layout_manager.h" | 18 #include "views/layout_manager.h" |
| 18 #include "views/widget/widget.h" | 19 #include "views/widget/widget.h" |
| 19 | 20 |
| 20 namespace gfx { | 21 namespace gfx { |
| 21 class Canvas; | 22 class Canvas; |
| 22 class Rect; | 23 class Rect; |
| 23 } | 24 } |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 // duplicate move events even though the mouse hasn't moved. | 580 // duplicate move events even though the mouse hasn't moved. |
| 580 | 581 |
| 581 // If true, the last event was a mouse move event. | 582 // If true, the last event was a mouse move event. |
| 582 bool last_mouse_event_was_move_; | 583 bool last_mouse_event_was_move_; |
| 583 | 584 |
| 584 // Coordinates of the last mouse move event, in screen coordinates. | 585 // Coordinates of the last mouse move event, in screen coordinates. |
| 585 int last_mouse_move_x_; | 586 int last_mouse_move_x_; |
| 586 int last_mouse_move_y_; | 587 int last_mouse_move_y_; |
| 587 | 588 |
| 588 // Instance of accessibility information and handling for MSAA root | 589 // Instance of accessibility information and handling for MSAA root |
| 589 CComPtr<IAccessible> accessibility_root_; | 590 ScopedComPtr<IAccessible> accessibility_root_; |
| 590 | 591 |
| 591 scoped_ptr<DefaultThemeProvider> default_theme_provider_; | 592 scoped_ptr<DefaultThemeProvider> default_theme_provider_; |
| 592 }; | 593 }; |
| 593 | 594 |
| 594 } // namespace views | 595 } // namespace views |
| 595 | 596 |
| 596 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ | 597 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ |
| OLD | NEW |