Index: ui/gfx/android/java_bitmap.h |
diff --git a/ui/gfx/android/java_bitmap.h b/ui/gfx/android/java_bitmap.h |
index cb1077d73e2ca49f6c8af26c8a107bda67398d6c..7f0ceea2962826b762ecb815644fa129f93b9062 100644 |
--- a/ui/gfx/android/java_bitmap.h |
+++ b/ui/gfx/android/java_bitmap.h |
@@ -49,6 +49,13 @@ class GFX_EXPORT JavaBitmap { |
DISALLOW_COPY_AND_ASSIGN(JavaBitmap); |
}; |
+// Allocates a Java-backed bitmap (android.graphics.Bitmap) with the given size |
+// and the configuration. |
jdduke (slow)
2014/03/06 01:52:05
Nit: "and configuration."
|
+GFX_EXPORT base::android::ScopedJavaLocalRef<jobject> CreateJavaBitmap( |
+ int width, |
+ int height, |
+ SkBitmap::Config bitmap_config); |
+ |
GFX_EXPORT base::android::ScopedJavaLocalRef<jobject> ConvertToJavaBitmap( |
const SkBitmap* skbitmap); |