summaryrefslogtreecommitdiffstats
path: root/ui/base/android/ui_base_jni_registrar.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/android/ui_base_jni_registrar.h')
-rw-r--r--ui/base/android/ui_base_jni_registrar.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/ui/base/android/ui_base_jni_registrar.h b/ui/base/android/ui_base_jni_registrar.h
new file mode 100644
index 0000000..928e515
--- /dev/null
+++ b/ui/base/android/ui_base_jni_registrar.h
@@ -0,0 +1,21 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_BASE_ANDROID_UI_BASE_JNI_REGISTRAR_H_
+#define UI_BASE_ANDROID_UI_BASE_JNI_REGISTRAR_H_
+
+#include <jni.h>
+
+#include "ui/base/ui_export.h"
+
+namespace ui {
+namespace android {
+
+// Register all JNI bindings necessary for chrome.
+UI_EXPORT bool RegisterJni(JNIEnv* env);
+
+} // namespace android
+} // namespace ui
+
+#endif // UI_BASE_ANDROID_UI_BASE_JNI_REGISTRAR_H_