Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: content/browser/accessibility/browser_accessibility_manager_android.h

Issue 2420413006: Android accessibility: fix word/character navigation in unfocused text fields (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 jint id); 101 jint id);
102 void HitTest(JNIEnv* env, 102 void HitTest(JNIEnv* env,
103 const base::android::JavaParamRef<jobject>& obj, 103 const base::android::JavaParamRef<jobject>& obj,
104 jint x, 104 jint x,
105 jint y); 105 jint y);
106 106
107 // Methods to get information about a specific node. 107 // Methods to get information about a specific node.
108 jboolean IsEditableText(JNIEnv* env, 108 jboolean IsEditableText(JNIEnv* env,
109 const base::android::JavaParamRef<jobject>& obj, 109 const base::android::JavaParamRef<jobject>& obj,
110 jint id); 110 jint id);
111 jboolean IsFocused(JNIEnv* env,
112 const base::android::JavaParamRef<jobject>& obj,
113 jint id);
111 jint GetEditableTextSelectionStart( 114 jint GetEditableTextSelectionStart(
112 JNIEnv* env, 115 JNIEnv* env,
113 const base::android::JavaParamRef<jobject>& obj, 116 const base::android::JavaParamRef<jobject>& obj,
114 jint id); 117 jint id);
115 jint GetEditableTextSelectionEnd( 118 jint GetEditableTextSelectionEnd(
116 JNIEnv* env, 119 JNIEnv* env,
117 const base::android::JavaParamRef<jobject>& obj, 120 const base::android::JavaParamRef<jobject>& obj,
118 jint id); 121 jint id);
119 122
120 // Populate Java accessibility data structures with info about a node. 123 // Populate Java accessibility data structures with info about a node.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 bool prune_tree_for_screen_reader_; 263 bool prune_tree_for_screen_reader_;
261 264
262 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid); 265 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid);
263 }; 266 };
264 267
265 bool RegisterBrowserAccessibilityManager(JNIEnv* env); 268 bool RegisterBrowserAccessibilityManager(JNIEnv* env);
266 269
267 } 270 }
268 271
269 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H _ 272 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H _
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698