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 "base/android/scoped_java_ref.h" | 8 #include "base/android/scoped_java_ref.h" |
9 #include "content/browser/accessibility/browser_accessibility.h" | 9 #include "content/browser/accessibility/browser_accessibility.h" |
10 | 10 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 friend class BrowserAccessibility; | 80 friend class BrowserAccessibility; |
81 | 81 |
82 BrowserAccessibilityAndroid(); | 82 BrowserAccessibilityAndroid(); |
83 | 83 |
84 bool HasFocusableChild() const; | 84 bool HasFocusableChild() const; |
85 bool HasOnlyStaticTextChildren() const; | 85 bool HasOnlyStaticTextChildren() const; |
86 bool IsIframe() const; | 86 bool IsIframe() const; |
87 | 87 |
88 void NotifyLiveRegionUpdate(base::string16& aria_live); | 88 void NotifyLiveRegionUpdate(base::string16& aria_live); |
89 | 89 |
90 int CountChildrenWithRole(blink::WebAXRole role) const; | 90 int CountChildrenWithRole(ui::AXRole role) const; |
91 | 91 |
92 base::string16 cached_text_; | 92 base::string16 cached_text_; |
93 bool first_time_; | 93 bool first_time_; |
94 base::string16 old_value_; | 94 base::string16 old_value_; |
95 base::string16 new_value_; | 95 base::string16 new_value_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); | 97 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace content | 100 } // namespace content |
101 | 101 |
102 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ | 102 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ |
OLD | NEW |