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 | 395 |
(...skipping 18 matching lines...) Expand all Loading... |
413 // special character in the place of every embedded object instead of its | 414 // special character in the place of every embedded object instead of its |
414 // text, depending on the platform. | 415 // text, depending on the platform. |
415 base::string16 GetInnerText() const; | 416 base::string16 GetInnerText() const; |
416 | 417 |
417 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 418 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
418 }; | 419 }; |
419 | 420 |
420 } // namespace content | 421 } // namespace content |
421 | 422 |
422 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 423 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
OLD | NEW |