This source file includes following definitions.
- RegisterJni
#include "ui/gfx/android/gfx_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "ui/gfx/android/java_bitmap.h"
#include "ui/gfx/android/shared_device_display_info.h"
#include "ui/gfx/android/view_configuration.h"
namespace gfx {
namespace android {
static base::android::RegistrationMethod kGfxRegisteredMethods[] = {
{ "SharedDeviceDisplayInfo",
SharedDeviceDisplayInfo::RegisterSharedDeviceDisplayInfo },
{ "JavaBitmap", JavaBitmap::RegisterJavaBitmap },
{ "ViewConfiguration", ViewConfiguration::RegisterViewConfiguration }
};
bool RegisterJni(JNIEnv* env) {
return RegisterNativeMethods(env, kGfxRegisteredMethods,
arraysize(kGfxRegisteredMethods));
}
}
}