GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / android_webview / lib / main / webview_jni_onload.h
blob7621e0d46bc0d54328542f708720322d5051c4ad
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 ANDROID_WEBVIEW_LIB_MAIN_WEBVIEW_JNI_ONLOAD__H_
6 #define ANDROID_WEBVIEW_LIB_MAIN_WEBVIEW_JNI_ONLOAD__H_
8 #include <jni.h>
10 namespace android_webview {
12 // TODO(michaelbai): remove this once we no longer need to be able to run
13 // webview with manual JNI registration
14 bool OnJNIOnLoadRegisterJNI(JavaVM* vm);
16 bool OnJNIOnLoadInit();
18 } // android_webview
20 #endif // ANDROID_WEBVIEW_LIB_MAIN_WEBVIEW_JNI_ONLOAD__H_