Index: ui/android/java/BitmapFormat.template |
diff --git a/ui/android/java/BitmapFormat.template b/ui/android/java/BitmapFormat.template |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a569d0ced9f9e496a6796290fddd7009d6662d34 |
--- /dev/null |
+++ b/ui/android/java/BitmapFormat.template |
@@ -0,0 +1,14 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.ui; |
+ |
+// A simple auto-generated interface used to maintain the various |
+// bitmap configurations as used by both org.chromium.ui.BitmapFormat |
+// and ui/gfx/android/java_bitmap.h |
+interface BitmapFormat { |
Yaron
2014/02/25 19:50:45
Make public
sivag
2014/02/26 05:50:43
Done.
|
+#define DEFINE_BITMAP_CONFIG(x,y) public final int x = y; |
+#include "ui/gfx/android/bitmap_config_list.h" |
+#undef DEFINE_BITMAP_CONFIG |
+} |