OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 // If this node is interesting (IsInterestingOnAndroid() returns true), | 56 // If this node is interesting (IsInterestingOnAndroid() returns true), |
57 // returns |this|. If not, it recursively checks all of the | 57 // returns |this|. If not, it recursively checks all of the |
58 // platform children of this node, and if just a single one is | 58 // platform children of this node, and if just a single one is |
59 // interesting, returns that one. If no descendants are interesting, or | 59 // interesting, returns that one. If no descendants are interesting, or |
60 // if more than one is interesting, returns nullptr. | 60 // if more than one is interesting, returns nullptr. |
61 const BrowserAccessibilityAndroid* GetSoleInterestingNodeFromSubtree() const; | 61 const BrowserAccessibilityAndroid* GetSoleInterestingNodeFromSubtree() const; |
62 | 62 |
63 bool CanOpenPopup() const; | 63 bool CanOpenPopup() const; |
64 | 64 |
65 bool HasFocusableChild() const; | 65 bool HasFocusableNonOptionChild() const; |
66 bool HasNonEmptyValue() const; | 66 bool HasNonEmptyValue() const; |
67 | 67 |
68 const char* GetClassName() const; | 68 const char* GetClassName() const; |
69 base::string16 GetText() const override; | 69 base::string16 GetText() const override; |
70 | 70 |
71 base::string16 GetRoleDescription() const; | 71 base::string16 GetRoleDescription() const; |
72 | 72 |
73 int GetItemIndex() const; | 73 int GetItemIndex() const; |
74 int GetItemCount() const; | 74 int GetItemCount() const; |
75 | 75 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 bool first_time_; | 157 bool first_time_; |
158 base::string16 old_value_; | 158 base::string16 old_value_; |
159 base::string16 new_value_; | 159 base::string16 new_value_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); | 161 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace content | 164 } // namespace content |
165 | 165 |
166 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ | 166 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ |
OLD | NEW |