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_H_ | 5 #ifndef VIEWS_WIDGET_WIDGET_H_ |
6 #define VIEWS_WIDGET_WIDGET_H_ | 6 #define VIEWS_WIDGET_WIDGET_H_ |
7 | 7 |
8 #include "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
9 | 9 |
10 class ThemeProvider; | 10 class ThemeProvider; |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 class Path; | 13 class Path; |
| 14 class Point; |
14 class Rect; | 15 class Rect; |
15 } | 16 } |
16 | 17 |
17 namespace views { | 18 namespace views { |
18 | 19 |
19 class Accelerator; | 20 class Accelerator; |
20 class FocusManager; | 21 class FocusManager; |
21 class RootView; | 22 class RootView; |
22 class TooltipManager; | 23 class TooltipManager; |
23 class View; | 24 class View; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 virtual ThemeProvider* GetDefaultThemeProvider() { return NULL; } | 122 virtual ThemeProvider* GetDefaultThemeProvider() { return NULL; } |
122 | 123 |
123 // Returns the FocusManager for this widget. | 124 // Returns the FocusManager for this widget. |
124 // Note that all widgets in a widget hierarchy share the same focus manager. | 125 // Note that all widgets in a widget hierarchy share the same focus manager. |
125 virtual FocusManager* GetFocusManager() { return NULL; } | 126 virtual FocusManager* GetFocusManager() { return NULL; } |
126 }; | 127 }; |
127 | 128 |
128 } // namespace views | 129 } // namespace views |
129 | 130 |
130 #endif // VIEWS_WIDGET_WIDGET_H_ | 131 #endif // VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |