| OLD | NEW | 
|---|
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_SYSTEM_CARET_WIN_H_ | 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_SYSTEM_CARET_WIN_H_ | 
| 6 #define UI_ACCESSIBILITY_PLATFORM_AX_SYSTEM_CARET_WIN_H_ | 6 #define UI_ACCESSIBILITY_PLATFORM_AX_SYSTEM_CARET_WIN_H_ | 
| 7 | 7 | 
| 8 #include <oleacc.h> | 8 #include <oleacc.h> | 
| 9 | 9 | 
| 10 #include "base/macros.h" | 10 #include "base/macros.h" | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 36   // |AXPlatformNodeDelegate| members. | 36   // |AXPlatformNodeDelegate| members. | 
| 37   const AXNodeData& GetData() const override; | 37   const AXNodeData& GetData() const override; | 
| 38   const ui::AXTreeData& GetTreeData() const override; | 38   const ui::AXTreeData& GetTreeData() const override; | 
| 39   gfx::NativeWindow GetTopLevelWidget() override; | 39   gfx::NativeWindow GetTopLevelWidget() override; | 
| 40   gfx::NativeViewAccessible GetParent() override; | 40   gfx::NativeViewAccessible GetParent() override; | 
| 41   int GetChildCount() override; | 41   int GetChildCount() override; | 
| 42   gfx::NativeViewAccessible ChildAtIndex(int index) override; | 42   gfx::NativeViewAccessible ChildAtIndex(int index) override; | 
| 43   gfx::Rect GetScreenBoundsRect() const override; | 43   gfx::Rect GetScreenBoundsRect() const override; | 
| 44   gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 44   gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 
| 45   gfx::NativeViewAccessible GetFocus() override; | 45   gfx::NativeViewAccessible GetFocus() override; | 
|  | 46   ui::AXPlatformNode* GetFromNodeID(int32_t id) override; | 
| 46   gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 47   gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 
| 47   bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 48   bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 
| 48   bool ShouldIgnoreHoveredStateForTesting() override; | 49   bool ShouldIgnoreHoveredStateForTesting() override; | 
| 49 | 50 | 
| 50   AXPlatformNodeWin* caret_; | 51   AXPlatformNodeWin* caret_; | 
| 51   gfx::AcceleratedWidget event_target_; | 52   gfx::AcceleratedWidget event_target_; | 
| 52   AXNodeData data_; | 53   AXNodeData data_; | 
| 53 | 54 | 
| 54   friend class AXPlatformNodeWin; | 55   friend class AXPlatformNodeWin; | 
| 55   DISALLOW_COPY_AND_ASSIGN(AXSystemCaretWin); | 56   DISALLOW_COPY_AND_ASSIGN(AXSystemCaretWin); | 
| 56 }; | 57 }; | 
| 57 | 58 | 
| 58 }  // namespace ui | 59 }  // namespace ui | 
| 59 | 60 | 
| 60 #endif  // UI_ACCESSIBILITY_PLATFORM_AX_SYSTEM_CARET_WIN_H_ | 61 #endif  // UI_ACCESSIBILITY_PLATFORM_AX_SYSTEM_CARET_WIN_H_ | 
| OLD | NEW | 
|---|