| 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 |
| 11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "content/browser/accessibility/browser_accessibility.h" | 13 #include "content/browser/accessibility/browser_accessibility.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 class CONTENT_EXPORT BrowserAccessibilityAndroid : public BrowserAccessibility { | 17 class CONTENT_EXPORT BrowserAccessibilityAndroid : public BrowserAccessibility { |
| 18 public: | 18 public: |
| 19 // Overrides from BrowserAccessibility. | 19 // Overrides from BrowserAccessibility. |
| 20 void OnDataChanged() override; | 20 void OnDataChanged() override; |
| 21 bool IsNative() const override; | 21 bool IsNative() const override; |
| 22 void OnLocationChanged() override; | 22 void OnLocationChanged() override; |
| 23 base::string16 GetValue() const override; | 23 base::string16 GetValue() const override; |
| 24 | 24 |
| 25 bool PlatformIsLeaf() const override; | 25 bool PlatformIsLeaf() const override; |
| 26 | 26 |
| 27 bool IsCheckable() const; | 27 bool IsCheckable() const; |
| 28 bool IsChecked() const; | 28 bool IsChecked() const; |
| 29 bool IsClickable() const override; | 29 bool IsClickable() const override; |
| 30 bool IsCollapsed() const; |
| 30 bool IsCollection() const; | 31 bool IsCollection() const; |
| 31 bool IsCollectionItem() const; | 32 bool IsCollectionItem() const; |
| 32 bool IsContentInvalid() const; | 33 bool IsContentInvalid() const; |
| 33 bool IsDismissable() const; | 34 bool IsDismissable() const; |
| 34 bool IsEditableText() const; | 35 bool IsEditableText() const; |
| 35 bool IsEnabled() const; | 36 bool IsEnabled() const; |
| 37 bool IsExpanded() const; |
| 36 bool IsFocusable() const; | 38 bool IsFocusable() const; |
| 37 bool IsFocused() const; | 39 bool IsFocused() const; |
| 38 bool IsHeading() const; | 40 bool IsHeading() const; |
| 39 bool IsHierarchical() const; | 41 bool IsHierarchical() const; |
| 40 bool IsLink() const; | 42 bool IsLink() const; |
| 41 bool IsMultiLine() const; | 43 bool IsMultiLine() const; |
| 42 bool IsPassword() const; | 44 bool IsPassword() const; |
| 43 bool IsRangeType() const; | 45 bool IsRangeType() const; |
| 44 bool IsScrollable() const; | 46 bool IsScrollable() const; |
| 45 bool IsSelected() const; | 47 bool IsSelected() const; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 bool first_time_; | 144 bool first_time_; |
| 143 base::string16 old_value_; | 145 base::string16 old_value_; |
| 144 base::string16 new_value_; | 146 base::string16 new_value_; |
| 145 | 147 |
| 146 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); | 148 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); |
| 147 }; | 149 }; |
| 148 | 150 |
| 149 } // namespace content | 151 } // namespace content |
| 150 | 152 |
| 151 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ | 153 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ |
| OLD | NEW |