| // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef UI_VIEWS_ACCESSIBILITY_VIEW_AX_PLATFORM_NODE_DELEGATE_WIN_H_ |
| #define UI_VIEWS_ACCESSIBILITY_VIEW_AX_PLATFORM_NODE_DELEGATE_WIN_H_ |
| |
| #include "base/macros.h" |
| #include "ui/views/accessibility/view_ax_platform_node_delegate.h" |
| |
| namespace views { |
| |
| class View; |
| |
| class ViewAXPlatformNodeDelegateWin : public ViewAXPlatformNodeDelegate { |
| public: |
| explicit ViewAXPlatformNodeDelegateWin(View* view); |
| ~ViewAXPlatformNodeDelegateWin() override; |
| |
| // |ViewAXPlatformNodeDelegate| overrides: |
| gfx::NativeViewAccessible GetParent() override; |
| gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
| gfx::Rect GetClippedScreenBoundsRect() const override; |
| gfx::Rect GetUnclippedScreenBoundsRect() const override; |
| |
| private: |
| DISALLOW_COPY_AND_ASSIGN(ViewAXPlatformNodeDelegateWin); |
| }; |
| |
| } // namespace views |
| |
| #endif // UI_VIEWS_ACCESSIBILITY_VIEW_AX_PLATFORM_NODE_DELEGATE_WIN_H_ |