OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ | 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ |
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ | 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ |
7 | 7 |
8 #include "ui/accessibility/ax_enums.h" | |
9 #include "ui/accessibility/ax_export.h" | 8 #include "ui/accessibility/ax_export.h" |
10 #include "ui/gfx/geometry/vector2d.h" | 9 #include "ui/gfx/geometry/vector2d.h" |
11 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
12 | 11 |
13 namespace ui { | 12 namespace ui { |
14 | 13 |
15 struct AXNodeData; | 14 struct AXNodeData; |
16 class AXPlatformNode; | 15 class AXPlatformNode; |
17 | 16 |
18 // An object that wants to be accessible should derive from this class. | 17 // An object that wants to be accessible should derive from this class. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // toggle a checkbox. | 80 // toggle a checkbox. |
82 virtual void DoDefaultAction() = 0; | 81 virtual void DoDefaultAction() = 0; |
83 | 82 |
84 // Change the value of a control, such as the text content of a text field. | 83 // Change the value of a control, such as the text content of a text field. |
85 virtual bool SetStringValue(const base::string16& new_value) = 0; | 84 virtual bool SetStringValue(const base::string16& new_value) = 0; |
86 }; | 85 }; |
87 | 86 |
88 } // namespace ui | 87 } // namespace ui |
89 | 88 |
90 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ | 89 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_ |
OLD | NEW |