Index: ui/gfx/android/bitmap_config_list.h |
diff --git a/ui/gfx/android/bitmap_config_list.h b/ui/gfx/android/bitmap_config_list.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ddf32ec8ae4e72c804ae9d25b4e89f91f2213128 |
--- /dev/null |
+++ b/ui/gfx/android/bitmap_config_list.h |
@@ -0,0 +1,15 @@ |
+// Copyright (c) 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. |
+ |
+// This file intentionally does not have header guards, it's included |
+// inside a macro to generate enum values. |
+ |
+#ifndef DEFINE_BITMAP_CONFIG |
+#error "DEFINE_BITMAP_CONFIG should be defined before including this file" |
+#endif |
+DEFINE_BITMAP_CONFIG(FORMAT_NO_CONFIG, 0) |
+DEFINE_BITMAP_CONFIG(FORMAT_ALPHA_8, 1) |
+DEFINE_BITMAP_CONFIG(FORMAT_ARGB_4444, 2) |
+DEFINE_BITMAP_CONFIG(FORMAT_ARGB_8888, 3) |
+DEFINE_BITMAP_CONFIG(FORMAT_RGB_565, 4) |