| 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_H_ | 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ |
| 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ | 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "ui/accessibility/ax_enums.h" | 9 #include "ui/accessibility/ax_enums.h" |
| 10 #include "ui/accessibility/ax_export.h" | 10 #include "ui/accessibility/ax_export.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // Fire a platform-specific notification that an event has occurred on | 42 // Fire a platform-specific notification that an event has occurred on |
| 43 // this object. | 43 // this object. |
| 44 virtual void NotifyAccessibilityEvent(ui::AXEvent event_type) = 0; | 44 virtual void NotifyAccessibilityEvent(ui::AXEvent event_type) = 0; |
| 45 | 45 |
| 46 // Return this object's delegate. | 46 // Return this object's delegate. |
| 47 virtual AXPlatformNodeDelegate* GetDelegate() const = 0; | 47 virtual AXPlatformNodeDelegate* GetDelegate() const = 0; |
| 48 | 48 |
| 49 protected: | 49 protected: |
| 50 AXPlatformNode(); | 50 AXPlatformNode(); |
| 51 virtual ~AXPlatformNode(); | 51 virtual ~AXPlatformNode(); |
| 52 | |
| 53 virtual AXPlatformNode* GetFromUniqueId(int32_t unique_id); | |
| 54 | |
| 55 int32_t unique_id_; | |
| 56 }; | 52 }; |
| 57 | 53 |
| 58 } // namespace ui | 54 } // namespace ui |
| 59 | 55 |
| 60 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ | 56 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ |
| OLD | NEW |