summaryrefslogtreecommitdiff
path: root/chromium/ui/views/window/vector_icons/vector_icons.h.template
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/views/window/vector_icons/vector_icons.h.template')
-rw-r--r--chromium/ui/views/window/vector_icons/vector_icons.h.template26
1 files changed, 26 insertions, 0 deletions
diff --git a/chromium/ui/views/window/vector_icons/vector_icons.h.template b/chromium/ui/views/window/vector_icons/vector_icons.h.template
new file mode 100644
index 00000000000..6d77e7257c8
--- /dev/null
+++ b/chromium/ui/views/window/vector_icons/vector_icons.h.template
@@ -0,0 +1,26 @@
+// Copyright 2018 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.
+
+// vector_icons.h.template is used to generate vector_icons.h. Edit the former
+// rather than the latter.
+
+#ifndef UI_VIEWS_WINDOW_VECTOR_ICONS_VECTOR_ICONS_H_
+#define UI_VIEWS_WINDOW_VECTOR_ICONS_VECTOR_ICONS_H_
+
+namespace gfx {
+struct VectorIcon;
+}
+
+#define VECTOR_ICON_TEMPLATE_H(icon_name) \
+extern const gfx::VectorIcon icon_name;
+
+namespace views {
+
+TEMPLATE_PLACEHOLDER
+
+} // namespace views
+
+#undef VECTOR_ICON_TEMPLATE_H
+
+#endif // UI_VIEWS_WINDOW_VECTOR_ICONS_VECTOR_ICONS_H_