OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 16 matching lines...) Expand all Loading... |
27 class ViewProp; | 27 class ViewProp; |
28 } | 28 } |
29 | 29 |
30 namespace gfx { | 30 namespace gfx { |
31 class CanvasSkia; | 31 class CanvasSkia; |
32 class Rect; | 32 class Rect; |
33 } | 33 } |
34 | 34 |
35 namespace views { | 35 namespace views { |
36 | 36 |
| 37 class CurrentMessageWatcher; |
37 class DefaultThemeProvider; | 38 class DefaultThemeProvider; |
38 class DropTargetWin; | 39 class DropTargetWin; |
39 class FocusSearch; | 40 class FocusSearch; |
40 class RootView; | 41 class RootView; |
41 class TooltipManagerWin; | 42 class TooltipManagerWin; |
42 class Window; | 43 class Window; |
43 | 44 |
44 RootView* GetRootViewForHWND(HWND hwnd); | 45 RootView* GetRootViewForHWND(HWND hwnd); |
45 | 46 |
46 // A Windows message reflected from other windows. This message is sent | 47 // A Windows message reflected from other windows. This message is sent |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 // A vector used to access views for which we have sent notifications to | 593 // A vector used to access views for which we have sent notifications to |
593 // accessibility clients. It is used as a circular queue. | 594 // accessibility clients. It is used as a circular queue. |
594 std::vector<View*> accessibility_view_events_; | 595 std::vector<View*> accessibility_view_events_; |
595 | 596 |
596 // The current position of the view events vector. When incrementing, | 597 // The current position of the view events vector. When incrementing, |
597 // we always mod this value with the max view events above . | 598 // we always mod this value with the max view events above . |
598 int accessibility_view_events_index_; | 599 int accessibility_view_events_index_; |
599 | 600 |
600 ViewProps props_; | 601 ViewProps props_; |
601 | 602 |
| 603 // Keeps track of the current message. |
| 604 static CurrentMessageWatcher* message_watcher_; |
| 605 |
602 DISALLOW_COPY_AND_ASSIGN(WidgetWin); | 606 DISALLOW_COPY_AND_ASSIGN(WidgetWin); |
603 }; | 607 }; |
604 | 608 |
605 } // namespace views | 609 } // namespace views |
606 | 610 |
607 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ | 611 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ |
OLD | NEW |