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 "app/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 Point; |
15 class Rect; | 15 class Rect; |
16 } | 16 } |
17 | 17 |
18 namespace views { | 18 namespace views { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 virtual FocusManager* GetFocusManager() { return NULL; } | 145 virtual FocusManager* GetFocusManager() { return NULL; } |
146 | 146 |
147 // Forwarded from the RootView so that the widget can do any cleanup. | 147 // Forwarded from the RootView so that the widget can do any cleanup. |
148 virtual void ViewHierarchyChanged(bool is_add, View *parent, | 148 virtual void ViewHierarchyChanged(bool is_add, View *parent, |
149 View *child) = 0; | 149 View *child) = 0; |
150 }; | 150 }; |
151 | 151 |
152 } // namespace views | 152 } // namespace views |
153 | 153 |
154 #endif // VIEWS_WIDGET_WIDGET_H_ | 154 #endif // VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |