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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 int offset, | 375 int offset, |
376 ui::AXTextAffinity affinity = ui::AX_TEXT_AFFINITY_DOWNSTREAM) const; | 376 ui::AXTextAffinity affinity = ui::AX_TEXT_AFFINITY_DOWNSTREAM) const; |
377 | 377 |
378 // Gets the text offsets where new lines start. | 378 // Gets the text offsets where new lines start. |
379 std::vector<int> GetLineStartOffsets() const; | 379 std::vector<int> GetLineStartOffsets() const; |
380 | 380 |
381 virtual gfx::NativeViewAccessible GetNativeViewAccessible(); | 381 virtual gfx::NativeViewAccessible GetNativeViewAccessible(); |
382 | 382 |
383 // AXPlatformNodeDelegate. | 383 // AXPlatformNodeDelegate. |
384 const ui::AXNodeData& GetData() const override; | 384 const ui::AXNodeData& GetData() const override; |
| 385 const ui::AXTreeData& GetTreeData() const override; |
385 gfx::NativeWindow GetTopLevelWidget() override; | 386 gfx::NativeWindow GetTopLevelWidget() override; |
386 gfx::NativeViewAccessible GetParent() override; | 387 gfx::NativeViewAccessible GetParent() override; |
387 int GetChildCount() override; | 388 int GetChildCount() override; |
388 gfx::NativeViewAccessible ChildAtIndex(int index) override; | 389 gfx::NativeViewAccessible ChildAtIndex(int index) override; |
389 gfx::Rect GetScreenBoundsRect() const override; | 390 gfx::Rect GetScreenBoundsRect() const override; |
390 gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 391 gfx::NativeViewAccessible HitTestSync(int x, int y) override; |
391 gfx::NativeViewAccessible GetFocus() override; | 392 gfx::NativeViewAccessible GetFocus() override; |
392 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 393 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
393 bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 394 bool AccessibilityPerformAction(const ui::AXActionData& data) override; |
394 bool ShouldIgnoreHoveredStateForTesting() override; | 395 bool ShouldIgnoreHoveredStateForTesting() override; |
(...skipping 26 matching lines...) Expand all Loading... |
421 // special character in the place of every embedded object instead of its | 422 // special character in the place of every embedded object instead of its |
422 // text, depending on the platform. | 423 // text, depending on the platform. |
423 base::string16 GetInnerText() const; | 424 base::string16 GetInnerText() const; |
424 | 425 |
425 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 426 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
426 }; | 427 }; |
427 | 428 |
428 } // namespace content | 429 } // namespace content |
429 | 430 |
430 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 431 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
OLD | NEW |