Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / public / app / android_library_loader_hooks.h
blobf6779c6a1499cd317ade07760b9dd5094293c577
1 // Copyright (c) 2012 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.
5 #ifndef CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
6 #define CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_
8 #include <jni.h>
10 #include "base/basictypes.h"
11 #include "content/common/content_export.h"
13 namespace content {
15 // Register all content JNI functions now, rather than waiting for the process
16 // of fully loading the native library to complete.
17 CONTENT_EXPORT bool EnsureJniRegistered(JNIEnv* env);
19 // Do the intialization of content needed immediately after the native library
20 // has loaded.
21 // This is designed to be used as a hook function to be passed to
22 // base::android::SetLibraryLoadedHook
23 CONTENT_EXPORT bool LibraryLoaded(JNIEnv* env,
24 jclass clazz);
26 } // namespace content
28 #endif // CONTENT_PUBLIC_APP_ANDROID_LIBRARY_LOADER_HOOKS_H_