Index: base/android/java/src/org/chromium/base/BitmapFormat.template |
diff --git a/base/android/java/src/org/chromium/base/BitmapFormat.template b/base/android/java/src/org/chromium/base/BitmapFormat.template |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f666493266e607e2e8ac808909a3ec4dedb3843 |
--- /dev/null |
+++ b/base/android/java/src/org/chromium/base/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.gfx; |
+ |
+// A simple auto-generated interface used to maintain the various |
+// bitmap configurations as used by both org.chromium.ui.gfx.BitmapFormat |
+// and ui/gfx/android/java_bitmap.h |
+interface BitmapFormat { |
+#define DEFINE_BITMAP_CONFIG(x,y) public final int x = y; |
+#include "base/android/bitmap_config_list.h" |
+#undef DEFINE_ACTIVITY_STATE |
Ted C
2014/02/18 16:45:22
undef DEFINE_BITMAP_CONFIG
sivag
2014/02/19 10:05:54
Done.
|
+} |