| 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 | 24 |
| 24 bool PlatformIsLeaf() const override; | 25 bool PlatformIsLeaf() const override; |
| 25 | 26 |
| 26 bool IsCheckable() const; | 27 bool IsCheckable() const; |
| 27 bool IsChecked() const; | 28 bool IsChecked() const; |
| 28 bool IsClickable() const override; | 29 bool IsClickable() const override; |
| 29 bool IsCollection() const; | 30 bool IsCollection() const; |
| 30 bool IsCollectionItem() const; | 31 bool IsCollectionItem() const; |
| 31 bool IsContentInvalid() const; | 32 bool IsContentInvalid() const; |
| 32 bool IsDismissable() const; | 33 bool IsDismissable() const; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 bool first_time_; | 142 bool first_time_; |
| 142 base::string16 old_value_; | 143 base::string16 old_value_; |
| 143 base::string16 new_value_; | 144 base::string16 new_value_; |
| 144 | 145 |
| 145 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); | 146 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } // namespace content | 149 } // namespace content |
| 149 | 150 |
| 150 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ | 151 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ |
| OLD | NEW |