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

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

Issue 2811803002: Fixes accessibility navigation out of autofill popup. (Closed)
Patch Set: Renames OnAutofillPopupAccessibilityFocusCleared to GetIdForElementAfterElementHostingAutofillPopup. Created 3 years, 8 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
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 const base::android::JavaParamRef<jobject>& obj, 223 const base::android::JavaParamRef<jobject>& obj,
224 jint id); 224 jint id);
225 225
226 // Accessibility methods to support navigation for autofill popup. 226 // Accessibility methods to support navigation for autofill popup.
227 void OnAutofillPopupDisplayed( 227 void OnAutofillPopupDisplayed(
228 JNIEnv* env, 228 JNIEnv* env,
229 const base::android::JavaParamRef<jobject>& obj); 229 const base::android::JavaParamRef<jobject>& obj);
230 void OnAutofillPopupDismissed( 230 void OnAutofillPopupDismissed(
231 JNIEnv* env, 231 JNIEnv* env,
232 const base::android::JavaParamRef<jobject>& obj); 232 const base::android::JavaParamRef<jobject>& obj);
233 jint GetIdForElementAfterElementHostingAutofillPopup(
234 JNIEnv* env,
235 const base::android::JavaParamRef<jobject>& obj);
233 jboolean IsAutofillPopupNode( 236 jboolean IsAutofillPopupNode(
234 JNIEnv* env, 237 JNIEnv* env,
235 const base::android::JavaParamRef<jobject>& obj, 238 const base::android::JavaParamRef<jobject>& obj,
236 jint id); 239 jint id);
237 240
238 // Scrolls any scrollable container by about 80% of one page in the 241 // Scrolls any scrollable container by about 80% of one page in the
239 // given direction. 242 // given direction.
240 bool Scroll(JNIEnv* env, 243 bool Scroll(JNIEnv* env,
241 const base::android::JavaParamRef<jobject>& obj, 244 const base::android::JavaParamRef<jobject>& obj,
242 jint id, 245 jint id,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 bool prune_tree_for_screen_reader_; 279 bool prune_tree_for_screen_reader_;
277 280
278 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid); 281 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerAndroid);
279 }; 282 };
280 283
281 bool RegisterBrowserAccessibilityManager(JNIEnv* env); 284 bool RegisterBrowserAccessibilityManager(JNIEnv* env);
282 285
283 } 286 }
284 287
285 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H _ 288 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_ANDROID_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698