| 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_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 5 #ifndef UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
| 6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 6 #define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/views/accessibility/native_view_accessibility_base.h" | 9 #include "ui/views/accessibility/native_view_accessibility_base.h" |
| 10 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
| 11 | 11 |
| 12 namespace views { | 12 namespace views { |
| 13 | 13 |
| 14 class NativeViewAccessibilityWin : public NativeViewAccessibilityBase { | 14 class NativeViewAccessibilityWin : public NativeViewAccessibilityBase { |
| 15 public: | 15 public: |
| 16 NativeViewAccessibilityWin(View* view); | 16 NativeViewAccessibilityWin(View* view); |
| 17 ~NativeViewAccessibilityWin() override; | 17 ~NativeViewAccessibilityWin() override; |
| 18 | 18 |
| 19 // NativeViewAccessibilityBase: | 19 // NativeViewAccessibilityBase: |
| 20 gfx::NativeViewAccessible GetParent() override; | 20 gfx::NativeViewAccessible GetParent() override; |
| 21 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 21 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
| 22 gfx::RectF GetBoundsInScreen() const override; |
| 22 | 23 |
| 23 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); | 24 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); |
| 24 }; | 25 }; |
| 25 | 26 |
| 26 } // namespace views | 27 } // namespace views |
| 27 | 28 |
| 28 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 29 #endif // UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
| OLD | NEW |