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

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

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 months 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 #ifndef CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_ 5 #ifndef CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_
6 #define CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_ 6 #define CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_
7 7
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 9
10 namespace chrome { 10 namespace chrome {
11 namespace android { 11 namespace android {
12 12
13 class AccessibilityUtil { 13 class AccessibilityUtil {
14 public: 14 public:
15 static bool Register(JNIEnv* env);
16
17 static bool IsAccessibilityEnabled(); 15 static bool IsAccessibilityEnabled();
18 16
19 private: 17 private:
20 AccessibilityUtil(); 18 AccessibilityUtil();
21 }; 19 };
22 20
23 } // namespace android 21 } // namespace android
24 } // namespace chrome 22 } // namespace chrome
25 23
26 #endif // CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_ 24 #endif // CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698