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_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 const _ATL_INTMAP_ENTRY* entries, | 714 const _ATL_INTMAP_ENTRY* entries, |
715 REFIID iid, | 715 REFIID iid, |
716 void** object); | 716 void** object); |
717 | 717 |
718 // Computes and caches the IA2 text style attributes for the text and other | 718 // Computes and caches the IA2 text style attributes for the text and other |
719 // embedded child objects. | 719 // embedded child objects. |
720 CONTENT_EXPORT void ComputeStylesIfNeeded(); | 720 CONTENT_EXPORT void ComputeStylesIfNeeded(); |
721 | 721 |
722 // |offset| could either be a text character or a child index in case of | 722 // |offset| could either be a text character or a child index in case of |
723 // non-text objects. | 723 // non-text objects. |
724 CONTENT_EXPORT AXPlatformPosition::AXPositionInstance CreatePositionAt( | 724 AXPlatformPosition::AXPositionInstance CreatePositionForSelectionAt( |
725 int offset) const override; | 725 int offset) const; |
726 | 726 |
727 CONTENT_EXPORT base::string16 GetText() const override; | 727 CONTENT_EXPORT base::string16 GetText() const override; |
728 | 728 |
729 // Accessors. | 729 // Accessors. |
730 int32_t ia_role() const { return win_attributes_->ia_role; } | 730 int32_t ia_role() const { return win_attributes_->ia_role; } |
731 int32_t ia_state() const { return win_attributes_->ia_state; } | 731 int32_t ia_state() const { return win_attributes_->ia_state; } |
732 const base::string16& role_name() const { return win_attributes_->role_name; } | 732 const base::string16& role_name() const { return win_attributes_->role_name; } |
733 int32_t ia2_role() const { return win_attributes_->ia2_role; } | 733 int32_t ia2_role() const { return win_attributes_->ia2_role; } |
734 int32_t ia2_state() const { return win_attributes_->ia2_state; } | 734 int32_t ia2_state() const { return win_attributes_->ia2_state; } |
735 const std::vector<base::string16>& ia2_attributes() const { | 735 const std::vector<base::string16>& ia2_attributes() const { |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 | 983 |
984 CONTENT_EXPORT BrowserAccessibilityWin* | 984 CONTENT_EXPORT BrowserAccessibilityWin* |
985 ToBrowserAccessibilityWin(BrowserAccessibility* obj); | 985 ToBrowserAccessibilityWin(BrowserAccessibility* obj); |
986 | 986 |
987 CONTENT_EXPORT const BrowserAccessibilityWin* | 987 CONTENT_EXPORT const BrowserAccessibilityWin* |
988 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); | 988 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); |
989 | 989 |
990 } // namespace content | 990 } // namespace content |
991 | 991 |
992 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 992 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |