OLD | NEW |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 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_COM_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 #include <oleacc.h> | 10 #include <oleacc.h> |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 BrowserAccessibilityWin* owner() const { return owner_; } | 647 BrowserAccessibilityWin* owner() const { return owner_; } |
648 void SetOwner(BrowserAccessibilityWin* owner) { owner_ = owner; } | 648 void SetOwner(BrowserAccessibilityWin* owner) { owner_ = owner; } |
649 | 649 |
650 BrowserAccessibilityManager* Manager() const; | 650 BrowserAccessibilityManager* Manager() const; |
651 | 651 |
652 // | 652 // |
653 // AXPlatformNode overrides | 653 // AXPlatformNode overrides |
654 // | 654 // |
655 void Destroy() override; | 655 void Destroy() override; |
656 void Init(ui::AXPlatformNodeDelegate* delegate) override; | 656 void Init(ui::AXPlatformNodeDelegate* delegate) override; |
657 AXPlatformNode* GetFromUniqueId(int32_t unique_id) override; | |
658 | 657 |
659 // Returns the IA2 text attributes for this object. | 658 // Returns the IA2 text attributes for this object. |
660 std::vector<base::string16> ComputeTextAttributes() const; | 659 std::vector<base::string16> ComputeTextAttributes() const; |
661 | 660 |
662 // Add one to the reference count and return the same object. Always | 661 // Add one to the reference count and return the same object. Always |
663 // use this method when returning a BrowserAccessibilityComWin object as | 662 // use this method when returning a BrowserAccessibilityComWin object as |
664 // an output parameter to a COM interface, never use it otherwise. | 663 // an output parameter to a COM interface, never use it otherwise. |
665 BrowserAccessibilityComWin* NewReference(); | 664 BrowserAccessibilityComWin* NewReference(); |
666 | 665 |
667 // Returns a list of IA2 attributes indicating the offsets in the text of a | 666 // Returns a list of IA2 attributes indicating the offsets in the text of a |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 | 834 |
836 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin); | 835 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin); |
837 }; | 836 }; |
838 | 837 |
839 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin( | 838 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin( |
840 BrowserAccessibility* obj); | 839 BrowserAccessibility* obj); |
841 | 840 |
842 } // namespace content | 841 } // namespace content |
843 | 842 |
844 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 843 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
OLD | NEW |