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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
400 const ui::AXNodeData& GetData() const override; | 400 const ui::AXNodeData& GetData() const override; |
401 gfx::NativeWindow GetTopLevelWidget() override; | 401 gfx::NativeWindow GetTopLevelWidget() override; |
402 gfx::NativeViewAccessible GetParent() override; | 402 gfx::NativeViewAccessible GetParent() override; |
403 int GetChildCount() override; | 403 int GetChildCount() override; |
404 gfx::NativeViewAccessible ChildAtIndex(int index) override; | 404 gfx::NativeViewAccessible ChildAtIndex(int index) override; |
405 gfx::Rect GetScreenBoundsRect() const override; | 405 gfx::Rect GetScreenBoundsRect() const override; |
406 gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 406 gfx::NativeViewAccessible HitTestSync(int x, int y) override; |
407 gfx::NativeViewAccessible GetFocus() override; | 407 gfx::NativeViewAccessible GetFocus() override; |
408 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 408 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
409 bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 409 bool AccessibilityPerformAction(const ui::AXActionData& data) override; |
410 bool IsHotTrackingOn() override; | |
dmazzoni
2017/06/06 04:50:37
This should more clearly say ForTesting or somethi
| |
410 | 411 |
411 protected: | 412 protected: |
412 using AXPlatformPositionInstance = AXPlatformPosition::AXPositionInstance; | 413 using AXPlatformPositionInstance = AXPlatformPosition::AXPositionInstance; |
413 using AXPlatformRange = ui::AXRange<AXPlatformPositionInstance::element_type>; | 414 using AXPlatformRange = ui::AXRange<AXPlatformPositionInstance::element_type>; |
414 | 415 |
415 BrowserAccessibility(); | 416 BrowserAccessibility(); |
416 | 417 |
417 // The manager of this tree of accessibility objects. | 418 // The manager of this tree of accessibility objects. |
418 BrowserAccessibilityManager* manager_; | 419 BrowserAccessibilityManager* manager_; |
419 | 420 |
(...skipping 22 matching lines...) Expand all Loading... | |
442 // bounds, but "virtual" elements in the accessibility tree that don't | 443 // bounds, but "virtual" elements in the accessibility tree that don't |
443 // correspond to a layed-out element sometimes don't have bounds. | 444 // correspond to a layed-out element sometimes don't have bounds. |
444 void FixEmptyBounds(gfx::RectF* bounds) const; | 445 void FixEmptyBounds(gfx::RectF* bounds) const; |
445 | 446 |
446 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 447 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
447 }; | 448 }; |
448 | 449 |
449 } // namespace content | 450 } // namespace content |
450 | 451 |
451 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 452 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
OLD | NEW |