Chromium Code Reviews| 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..4f0ebad2578fb45ec77493be8ba60db99d78b174 |
| --- /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, |
|
nyquist
2014/07/11 00:19:02
This comment should be updated.
sunangel
2014/07/11 15:47:48
Done.
|
| +// third argument represents value corresponding to the names in the enum |
| +DEFINE_THEME(LIGHT, 0) |
|
nyquist
2014/07/11 00:19:02
Please update components/dom_distiller/core/distil
sunangel
2014/07/11 15:47:48
Done.
|
| +DEFINE_THEME(DARK, 1) |
| +DEFINE_THEME(SEPIA, 2) |
|
nyquist
2014/07/11 00:19:02
I think this is missing THEME_COUNT
sunangel
2014/07/11 15:47:48
Done.
|