| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // vector_icons.h.template is used to generate vector_icons.h. Edit the former | 5 // vector_icons.h.template is used to generate vector_icons.h. Edit the former |
| 6 // rather than the latter. | 6 // rather than the latter. |
| 7 | 7 |
| 8 #ifndef UI_VIEWS_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_ | 8 #ifndef UI_VIEWS_VECTOR_ICONS_H_ |
| 9 #define UI_VIEWS_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_ | 9 #define UI_VIEWS_VECTOR_ICONS_H_ |
| 10 | 10 |
| 11 #include "ui/views/views_export.h" | 11 #include "ui/views/views_export.h" |
| 12 | 12 |
| 13 namespace gfx { | 13 namespace gfx { |
| 14 struct VectorIcon; | 14 struct VectorIcon; |
| 15 } | 15 } |
| 16 | 16 |
| 17 #define VECTOR_ICON_TEMPLATE_H(icon_name) \ | 17 #define VECTOR_ICON_TEMPLATE_H(icon_name) \ |
| 18 VIEWS_EXPORT extern const gfx::VectorIcon icon_name; | 18 VIEWS_EXPORT extern const gfx::VectorIcon icon_name; |
| 19 | 19 |
| 20 namespace views { | 20 namespace views { |
| 21 | 21 |
| 22 TEMPLATE_PLACEHOLDER | 22 TEMPLATE_PLACEHOLDER |
| 23 | 23 |
| 24 } | 24 } |
| 25 | 25 |
| 26 #undef VECTOR_ICON_TEMPLATE_H | 26 #undef VECTOR_ICON_TEMPLATE_H |
| 27 | 27 |
| 28 #endif // UI_VIEWS_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_ | 28 #endif // UI_VIEWS_VECTOR_ICONS_H_ |
| OLD | NEW |