Index: components/dom_distiller/core/theme_list.h |
diff --git a/components/dom_distiller/core/theme_list.h b/components/dom_distiller/core/theme_list.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b57a296af52b112e4cb548fdb7d79527f9c7b45e |
--- /dev/null |
+++ b/components/dom_distiller/core/theme_list.h |
@@ -0,0 +1,15 @@ |
+// 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. |
+ |
+// This file intentionally does not have header guards, it's included |
+// inside a macro to generate enum values. |
+ |
+#ifndef DEFINE_THEME |
+#error "DEFINE_THEME should be defined before including this file" |
+#endif |
+// First argument represents native enum, second argument represents Java enum, |
+// third argument represents value corresponding to the names in the enum |
+DEFINE_THEME(kLight, LIGHT, 0) |
nyquist
2014/07/09 23:49:05
Rebase this, and then you'll see that the names wi
sunangel
2014/07/10 14:31:53
Done.
|
+DEFINE_THEME(kDark, DARK, 1) |
+DEFINE_THEME(kSepia, SEPIA, 2) |