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 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 class CONTENT_EXPORT BrowserAccessibilityAndroid : public BrowserAccessibility { | 13 class CONTENT_EXPORT BrowserAccessibilityAndroid : public BrowserAccessibility { |
14 public: | 14 public: |
15 // Overrides from BrowserAccessibility. | 15 // Overrides from BrowserAccessibility. |
16 virtual void OnDataChanged() override; | 16 void OnDataChanged() override; |
17 virtual bool IsNative() const override; | 17 bool IsNative() const override; |
18 virtual void OnLocationChanged() override; | 18 void OnLocationChanged() override; |
19 | 19 |
20 virtual bool PlatformIsLeaf() const override; | 20 bool PlatformIsLeaf() const override; |
21 | 21 |
22 bool CanScrollForward() const; | 22 bool CanScrollForward() const; |
23 bool CanScrollBackward() const; | 23 bool CanScrollBackward() const; |
24 bool IsCheckable() const; | 24 bool IsCheckable() const; |
25 bool IsChecked() const; | 25 bool IsChecked() const; |
26 bool IsClickable() const; | 26 bool IsClickable() const; |
27 bool IsCollection() const; | 27 bool IsCollection() const; |
28 bool IsCollectionItem() const; | 28 bool IsCollectionItem() const; |
29 bool IsContentInvalid() const; | 29 bool IsContentInvalid() const; |
30 bool IsDismissable() const; | 30 bool IsDismissable() const; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 bool first_time_; | 121 bool first_time_; |
122 base::string16 old_value_; | 122 base::string16 old_value_; |
123 base::string16 new_value_; | 123 base::string16 new_value_; |
124 | 124 |
125 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); | 125 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityAndroid); |
126 }; | 126 }; |
127 | 127 |
128 } // namespace content | 128 } // namespace content |
129 | 129 |
130 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ | 130 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_ANDROID_H_ |
OLD | NEW |