This source file includes following definitions.
- Register
- IsAccessibilityEnabled
#include "base/android/jni_android.h"
#include "chrome/browser/android/accessibility_util.h"
#include "jni/AccessibilityUtil_jni.h"
namespace chrome {
namespace android {
bool AccessibilityUtil::Register(JNIEnv* env) {
return RegisterNativesImpl(env);
}
bool AccessibilityUtil::IsAccessibilityEnabled() {
return Java_AccessibilityUtil_isAccessibilityEnabled(
base::android::AttachCurrentThread(),
base::android::GetApplicationContext());
}
AccessibilityUtil::AccessibilityUtil() { }
}
}