summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-01-08 00:07:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-01-08 00:07:25 +0000
commit2d4c476aca79cc0f5b6f1e8561afd4bcc808dd54 (patch)
tree0cecd325f9b24b68eac7862877ffd6310e4ec238 /core/java/android/webkit
parent81a2b3f82aad46d1e7367670cc26e1ce071acc68 (diff)
parenta54956a0bc611b1e9b3914edc7a604b59688f6b7 (diff)
downloadframeworks_base-2d4c476aca79cc0f5b6f1e8561afd4bcc808dd54.zip
frameworks_base-2d4c476aca79cc0f5b6f1e8561afd4bcc808dd54.tar.gz
frameworks_base-2d4c476aca79cc0f5b6f1e8561afd4bcc808dd54.tar.bz2
Merge "Fix accessibility delegation"
Diffstat (limited to 'core/java/android/webkit')
-rw-r--r--core/java/android/webkit/WebView.java23
-rw-r--r--core/java/android/webkit/WebViewProvider.java6
2 files changed, 16 insertions, 13 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 1723e96..81f8c4e 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -2070,8 +2070,8 @@ public class WebView extends AbsoluteLayout
return WebView.super.onHoverEvent(event);
}
- public boolean super_performAccessibilityAction(int action, Bundle arguments) {
- return WebView.super.performAccessibilityAction(action, arguments);
+ public boolean super_performAccessibilityActionInternal(int action, Bundle arguments) {
+ return WebView.super.performAccessibilityActionInternal(action, arguments);
}
public boolean super_performLongClick() {
@@ -2379,23 +2379,26 @@ public class WebView extends AbsoluteLayout
return mProvider.getViewDelegate().shouldDelayChildPressedState();
}
+ /** @hide */
@Override
- public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
- super.onInitializeAccessibilityNodeInfo(info);
+ public void onInitializeAccessibilityNodeInfoInternal(AccessibilityNodeInfo info) {
+ super.onInitializeAccessibilityNodeInfoInternal(info);
info.setClassName(WebView.class.getName());
- mProvider.getViewDelegate().onInitializeAccessibilityNodeInfo(info);
+ mProvider.getViewDelegate().onInitializeAccessibilityNodeInfoInternal(info);
}
+ /** @hide */
@Override
- public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
- super.onInitializeAccessibilityEvent(event);
+ public void onInitializeAccessibilityEventInternal(AccessibilityEvent event) {
+ super.onInitializeAccessibilityEventInternal(event);
event.setClassName(WebView.class.getName());
- mProvider.getViewDelegate().onInitializeAccessibilityEvent(event);
+ mProvider.getViewDelegate().onInitializeAccessibilityEventInternal(event);
}
+ /** @hide */
@Override
- public boolean performAccessibilityAction(int action, Bundle arguments) {
- return mProvider.getViewDelegate().performAccessibilityAction(action, arguments);
+ public boolean performAccessibilityActionInternal(int action, Bundle arguments) {
+ return mProvider.getViewDelegate().performAccessibilityActionInternal(action, arguments);
}
/** @hide */
diff --git a/core/java/android/webkit/WebViewProvider.java b/core/java/android/webkit/WebViewProvider.java
index 2aee57b..e8be4a6 100644
--- a/core/java/android/webkit/WebViewProvider.java
+++ b/core/java/android/webkit/WebViewProvider.java
@@ -292,11 +292,11 @@ public interface WebViewProvider {
public AccessibilityNodeProvider getAccessibilityNodeProvider();
- public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info);
+ public void onInitializeAccessibilityNodeInfoInternal(AccessibilityNodeInfo info);
- public void onInitializeAccessibilityEvent(AccessibilityEvent event);
+ public void onInitializeAccessibilityEventInternal(AccessibilityEvent event);
- public boolean performAccessibilityAction(int action, Bundle arguments);
+ public boolean performAccessibilityActionInternal(int action, Bundle arguments);
public void setOverScrollMode(int mode);