This source file includes following definitions.
- performAccessibilityAction
- getAccessibilityNodeProvider
package org.chromium.content.browser;
import android.content.Context;
import android.os.Bundle;
import android.util.AttributeSet;
import android.view.accessibility.AccessibilityNodeProvider;
import org.chromium.ui.base.WindowAndroid;
class JellyBeanContentView extends ContentView {
JellyBeanContentView(Context context, long nativeWebContents, WindowAndroid windowAndroid,
AttributeSet attrs, int defStyle) {
super(context, nativeWebContents, windowAndroid, attrs, defStyle);
}
@Override
public boolean performAccessibilityAction(int action, Bundle arguments) {
if (getContentViewCore().supportsAccessibilityAction(action)) {
return getContentViewCore().performAccessibilityAction(action, arguments);
}
return super.performAccessibilityAction(action, arguments);
}
@Override
public AccessibilityNodeProvider getAccessibilityNodeProvider() {
AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider();
if (provider != null) {
return provider;
} else {
return super.getAccessibilityNodeProvider();
}
}
}