| 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_MANAGER_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void NotifyAccessibilityEvent(ui::AXEvent event_type, | 78 void NotifyAccessibilityEvent(ui::AXEvent event_type, |
| 79 BrowserAccessibility* node) override; | 79 BrowserAccessibility* node) override; |
| 80 void OnLocationChanges( | 80 void OnLocationChanges( |
| 81 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params) | 81 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params) |
| 82 override; | 82 override; |
| 83 | 83 |
| 84 // -------------------------------------------------------------------------- | 84 // -------------------------------------------------------------------------- |
| 85 // Methods called from Java via JNI | 85 // Methods called from Java via JNI |
| 86 // -------------------------------------------------------------------------- | 86 // -------------------------------------------------------------------------- |
| 87 | 87 |
| 88 // Global methods. |
| 89 base::android::ScopedJavaLocalRef<jstring> GetSupportedHtmlElementTypes( |
| 90 JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); |
| 91 |
| 88 // Tree methods. | 92 // Tree methods. |
| 89 jint GetRootId(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); | 93 jint GetRootId(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); |
| 90 jboolean IsNodeValid(JNIEnv* env, | 94 jboolean IsNodeValid(JNIEnv* env, |
| 91 const base::android::JavaParamRef<jobject>& obj, | 95 const base::android::JavaParamRef<jobject>& obj, |
| 92 jint id); | 96 jint id); |
| 93 void HitTest(JNIEnv* env, | 97 void HitTest(JNIEnv* env, |
| 94 const base::android::JavaParamRef<jobject>& obj, | 98 const base::android::JavaParamRef<jobject>& obj, |
| 95 jint x, | 99 jint x, |
| 96 jint y); | 100 jint y); |
| 97 | 101 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 bool prune_tree_for_screen_reader_; | 246 bool prune_tree_for_screen_reader_; |
| 243 | 247 |
| 244 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid); | 248 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid); |
| 245 }; | 249 }; |
| 246 | 250 |
| 247 bool RegisterBrowserAccessibilityManager(JNIEnv* env); | 251 bool RegisterBrowserAccessibilityManager(JNIEnv* env); |
| 248 | 252 |
| 249 } | 253 } |
| 250 | 254 |
| 251 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H
_ | 255 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H
_ |
| OLD | NEW |