Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(901)

Unified Diff: ui/views/resources/vector_icons/vector_icons.h.template

Issue 2627353002: Create vector icon directory for resources used by controls in ui/views. (Closed)
Patch Set: fix win? Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/resources/vector_icons/vector_icons.cc.template ('k') | ui/views/style/platform_style_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/resources/vector_icons/vector_icons.h.template
diff --git a/ui/views/resources/vector_icons/vector_icons.h.template b/ui/views/resources/vector_icons/vector_icons.h.template
new file mode 100644
index 0000000000000000000000000000000000000000..b866fb82bc475cb698854a80a69990c6177ffa38
--- /dev/null
+++ b/ui/views/resources/vector_icons/vector_icons.h.template
@@ -0,0 +1,26 @@
+// Copyright 2017 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_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_
+#define UI_VIEWS_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_
+
+#include "ui/views/views_export.h"
+
+namespace gfx {
+struct VectorIcon;
+}
+
+#define VECTOR_ICON_TEMPLATE_H(icon_name) \
+VIEWS_EXPORT extern const gfx::VectorIcon icon_name;
+
+namespace views {
+
+TEMPLATE_PLACEHOLDER
+
+}
+
+#endif // UI_VIEWS_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_
« no previous file with comments | « ui/views/resources/vector_icons/vector_icons.cc.template ('k') | ui/views/style/platform_style_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698