OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ | 5 #ifndef UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ |
6 #define UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ | 6 #define UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "ui/accessibility/ax_enums.h" | |
13 #include "ui/base/ui_base_types.h" | 12 #include "ui/base/ui_base_types.h" |
14 #include "ui/views/view.h" | 13 #include "ui/views/view.h" |
15 | 14 |
16 namespace gfx { | 15 namespace gfx { |
17 class ImageSkia; | 16 class ImageSkia; |
18 class Rect; | 17 class Rect; |
19 } | 18 } |
20 | 19 |
| 20 namespace ui { |
| 21 enum AXRole : int; |
| 22 } |
| 23 |
21 namespace views { | 24 namespace views { |
22 class BubbleDialogDelegateView; | 25 class BubbleDialogDelegateView; |
23 class ClientView; | 26 class ClientView; |
24 class DialogDelegate; | 27 class DialogDelegate; |
25 class NonClientFrameView; | 28 class NonClientFrameView; |
26 class View; | 29 class View; |
27 class Widget; | 30 class Widget; |
28 | 31 |
29 // Handles events on Widgets in context-specific ways. | 32 // Handles events on Widgets in context-specific ways. |
30 class VIEWS_EXPORT WidgetDelegate { | 33 class VIEWS_EXPORT WidgetDelegate { |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 // View: | 218 // View: |
216 const char* GetClassName() const override; | 219 const char* GetClassName() const override; |
217 | 220 |
218 private: | 221 private: |
219 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView); | 222 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView); |
220 }; | 223 }; |
221 | 224 |
222 } // namespace views | 225 } // namespace views |
223 | 226 |
224 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ | 227 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ |
OLD | NEW |