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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 virtual gfx::NativeViewAccessible GetNativeViewAccessible(); | 382 virtual gfx::NativeViewAccessible GetNativeViewAccessible(); |
383 | 383 |
384 // AXPlatformNodeDelegate. | 384 // AXPlatformNodeDelegate. |
385 const ui::AXNodeData& GetData() const override; | 385 const ui::AXNodeData& GetData() const override; |
386 const ui::AXTreeData& GetTreeData() const override; | 386 const ui::AXTreeData& GetTreeData() const override; |
387 gfx::NativeWindow GetTopLevelWidget() override; | 387 gfx::NativeWindow GetTopLevelWidget() override; |
388 gfx::NativeViewAccessible GetParent() override; | 388 gfx::NativeViewAccessible GetParent() override; |
389 int GetChildCount() override; | 389 int GetChildCount() override; |
390 gfx::NativeViewAccessible ChildAtIndex(int index) override; | 390 gfx::NativeViewAccessible ChildAtIndex(int index) override; |
391 gfx::Rect GetScreenBoundsRect() const override; | 391 gfx::Rect GetScreenBoundsRect() const override; |
| 392 ui::TextInputClient* GetTextInputClient() const override; |
392 gfx::NativeViewAccessible HitTestSync(int x, int y) override; | 393 gfx::NativeViewAccessible HitTestSync(int x, int y) override; |
393 gfx::NativeViewAccessible GetFocus() override; | 394 gfx::NativeViewAccessible GetFocus() override; |
394 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; | 395 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; |
395 bool AccessibilityPerformAction(const ui::AXActionData& data) override; | 396 bool AccessibilityPerformAction(const ui::AXActionData& data) override; |
396 | 397 |
397 protected: | 398 protected: |
398 using AXPlatformPositionInstance = AXPlatformPosition::AXPositionInstance; | 399 using AXPlatformPositionInstance = AXPlatformPosition::AXPositionInstance; |
399 using AXPlatformRange = ui::AXRange<AXPlatformPositionInstance::element_type>; | 400 using AXPlatformRange = ui::AXRange<AXPlatformPositionInstance::element_type>; |
400 | 401 |
401 BrowserAccessibility(); | 402 BrowserAccessibility(); |
(...skipping 13 matching lines...) Expand all Loading... |
415 // special character in the place of every embedded object instead of its | 416 // special character in the place of every embedded object instead of its |
416 // text, depending on the platform. | 417 // text, depending on the platform. |
417 base::string16 GetInnerText() const; | 418 base::string16 GetInnerText() const; |
418 | 419 |
419 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 420 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
420 }; | 421 }; |
421 | 422 |
422 } // namespace content | 423 } // namespace content |
423 | 424 |
424 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 425 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
OLD | NEW |