OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/android/context_utils.h" | |
6 #include "base/android/jni_android.h" | |
7 #include "chrome/browser/android/accessibility_util.h" | |
8 #include "jni/AccessibilityUtil_jni.h" | |
9 | |
10 namespace chrome { | |
11 namespace android { | |
12 | |
13 bool AccessibilityUtil::IsAccessibilityEnabled() { | |
14 return Java_AccessibilityUtil_isAccessibilityEnabled( | |
15 base::android::AttachCurrentThread(), | |
16 base::android::GetApplicationContext()); | |
17 } | |
18 | |
19 AccessibilityUtil::AccessibilityUtil() { } | |
20 | |
21 } // namespace android | |
22 } // namespace chrome | |
OLD | NEW |