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

Side by Side Diff: chrome/browser/android/accessibility_util.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2014 The Chromium Authors. All rights reserved. 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 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 #include "base/android/context_utils.h"
5 #include "base/android/jni_android.h" 6 #include "base/android/jni_android.h"
6 #include "chrome/browser/android/accessibility_util.h" 7 #include "chrome/browser/android/accessibility_util.h"
7 #include "jni/AccessibilityUtil_jni.h" 8 #include "jni/AccessibilityUtil_jni.h"
8 9
9 namespace chrome { 10 namespace chrome {
10 namespace android { 11 namespace android {
11 12
12 bool AccessibilityUtil::Register(JNIEnv* env) { 13 bool AccessibilityUtil::Register(JNIEnv* env) {
13 return RegisterNativesImpl(env); 14 return RegisterNativesImpl(env);
14 } 15 }
15 16
16 bool AccessibilityUtil::IsAccessibilityEnabled() { 17 bool AccessibilityUtil::IsAccessibilityEnabled() {
17 return Java_AccessibilityUtil_isAccessibilityEnabled( 18 return Java_AccessibilityUtil_isAccessibilityEnabled(
18 base::android::AttachCurrentThread(), 19 base::android::AttachCurrentThread(),
19 base::android::GetApplicationContext()); 20 base::android::GetApplicationContext());
20 } 21 }
21 22
22 AccessibilityUtil::AccessibilityUtil() { } 23 AccessibilityUtil::AccessibilityUtil() { }
23 24
24 } // namespace android 25 } // namespace android
25 } // namespace chrome 26 } // namespace chrome
OLDNEW
« no previous file with comments | « base/test/test_file_util_android.cc ('k') | chrome/browser/android/background_sync_launcher_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698