| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 const base::android::JavaParamRef<jstring>& value); | 147 const base::android::JavaParamRef<jstring>& value); |
| 148 void SetSelection(JNIEnv* env, | 148 void SetSelection(JNIEnv* env, |
| 149 const base::android::JavaParamRef<jobject>& obj, | 149 const base::android::JavaParamRef<jobject>& obj, |
| 150 jint id, | 150 jint id, |
| 151 jint start, | 151 jint start, |
| 152 jint end); | 152 jint end); |
| 153 jboolean AdjustSlider(JNIEnv* env, | 153 jboolean AdjustSlider(JNIEnv* env, |
| 154 const base::android::JavaParamRef<jobject>& obj, | 154 const base::android::JavaParamRef<jobject>& obj, |
| 155 jint id, | 155 jint id, |
| 156 jboolean increment); | 156 jboolean increment); |
| 157 void ShowContextMenu(JNIEnv* env, |
| 158 const base::android::JavaParamRef<jobject>& obj, |
| 159 jint id); |
| 157 | 160 |
| 158 // Return the id of the next node in tree order in the direction given by | 161 // Return the id of the next node in tree order in the direction given by |
| 159 // |forwards|, starting with |start_id|, that matches |element_type|, | 162 // |forwards|, starting with |start_id|, that matches |element_type|, |
| 160 // where |element_type| is a special uppercase string from TalkBack or | 163 // where |element_type| is a special uppercase string from TalkBack or |
| 161 // BrailleBack indicating general categories of web content like | 164 // BrailleBack indicating general categories of web content like |
| 162 // "SECTION" or "CONTROL". Return 0 if not found. | 165 // "SECTION" or "CONTROL". Return 0 if not found. |
| 163 jint FindElementType(JNIEnv* env, | 166 jint FindElementType(JNIEnv* env, |
| 164 const base::android::JavaParamRef<jobject>& obj, | 167 const base::android::JavaParamRef<jobject>& obj, |
| 165 jint start_id, | 168 jint start_id, |
| 166 const base::android::JavaParamRef<jstring>& element_type, | 169 const base::android::JavaParamRef<jstring>& element_type, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 bool prune_tree_for_screen_reader_; | 260 bool prune_tree_for_screen_reader_; |
| 258 | 261 |
| 259 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid); | 262 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid); |
| 260 }; | 263 }; |
| 261 | 264 |
| 262 bool RegisterBrowserAccessibilityManager(JNIEnv* env); | 265 bool RegisterBrowserAccessibilityManager(JNIEnv* env); |
| 263 | 266 |
| 264 } | 267 } |
| 265 | 268 |
| 266 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H
_ | 269 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H
_ |
| OLD | NEW |