Chromium Code Reviews| Index: components/vector_icons/vector_icons.h.template |
| diff --git a/components/vector_icons/vector_icons.h.template b/components/vector_icons/vector_icons.h.template |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..559459f85a9f46f5aac2310e930645eac538ff6f |
| --- /dev/null |
| +++ b/components/vector_icons/vector_icons.h.template |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
Evan Stade
2017/05/18 14:30:27
ditto
acondor_
2017/05/18 15:54:17
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// vector_icons.h.template is used to generate vector_icons.h. Edit the former |
| +// rather than the latter. |
| + |
| +#ifndef COMPONENTS_VECTOR_ICONS_VECTOR_ICONS_H_ |
| +#define COMPONENTS_VECTOR_ICONS_VECTOR_ICONS_H_ |
| + |
| +namespace gfx { |
| +struct VectorIcon; |
| +} |
| + |
| +#define VECTOR_ICON_TEMPLATE_H(icon_name) \ |
| +extern const gfx::VectorIcon icon_name; |
| + |
| +namespace vector_icons { |
| + |
| +TEMPLATE_PLACEHOLDER |
| + |
| +} // namespace vector_icons |
| + |
| +#undef VECTOR_ICON_TEMPLATE_H |
| + |
| +#endif // COMPONENTS_VECTOR_ICONS_VECTOR_ICONS_H_ |