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

Side by Side 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: Include fixes from downstream 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_EGL_UTIL_H_ 5 #include "ui/gfx/android/gfx_jni_registrar.h"
6 #define UI_GL_EGL_UTIL_H_
7 6
8 namespace gfx { 7 namespace gfx {
9 8
10 // Returns the last EGL error as a string. 9 void RegisterBitmapAndroid(JNIEnv* env);
11 const char* GetLastEGLErrorString(); 10
11 bool RegisterJni(JNIEnv* env) {
12 RegisterBitmapAndroid(env);
13 return true;
14 }
12 15
13 } // namespace gfx 16 } // namespace gfx
14
15 #endif // UI_GL_EGL_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698