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

Unified Diff: ui/gfx/android/gfx_jni_registrar.cc

Issue 10823094: Add bitmap utils for Chrome on Android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address review comments Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/android/gfx_jni_registrar.h ('k') | ui/gfx/android/java_bitmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/android/gfx_jni_registrar.cc
diff --git a/ui/gl/egl_util.h b/ui/gfx/android/gfx_jni_registrar.cc
similarity index 55%
copy from ui/gl/egl_util.h
copy to ui/gfx/android/gfx_jni_registrar.cc
index 57aab2a50a64d45808e819318fc28836d8a50928..d4406c8fc6e4cead0b36c38046eca468f551d601 100644
--- a/ui/gl/egl_util.h
+++ b/ui/gfx/android/gfx_jni_registrar.cc
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GL_EGL_UTIL_H_
-#define UI_GL_EGL_UTIL_H_
+#include "ui/gfx/android/gfx_jni_registrar.h"
namespace gfx {
-// Returns the last EGL error as a string.
-const char* GetLastEGLErrorString();
+void RegisterBitmapAndroid(JNIEnv* env);
-} // namespace gfx
+bool RegisterJni(JNIEnv* env) {
+ RegisterBitmapAndroid(env);
+ return true;
+}
-#endif // UI_GL_EGL_UTIL_H_
+} // namespace gfx
« no previous file with comments | « ui/gfx/android/gfx_jni_registrar.h ('k') | ui/gfx/android/java_bitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698