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

Unified Diff: ash/resources/vector_icons/vector_icons.h.template

Issue 2251643011: Move Ash-specific vector icons to ash/common/resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix sources again Created 4 years, 4 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 | « ash/resources/vector_icons/vector_icons.cc.template ('k') | ui/gfx/paint_vector_icon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/resources/vector_icons/vector_icons.h.template
diff --git a/ash/resources/vector_icons/vector_icons.h.template b/ash/resources/vector_icons/vector_icons.h.template
new file mode 100644
index 0000000000000000000000000000000000000000..a8473475133a2446cff7afbdee26ecb8d21872f6
--- /dev/null
+++ b/ash/resources/vector_icons/vector_icons.h.template
@@ -0,0 +1,24 @@
+// Copyright 2016 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 ASH_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_
+#define ASH_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_
+
+namespace gfx {
+struct VectorIcon;
+}
+
+#define VECTOR_ICON_TEMPLATE_H(icon_name) \
+extern const gfx::VectorIcon icon_name;
+
+namespace ash {
+
+TEMPLATE_PLACEHOLDER
+
+} // namespace ash
+
+#endif // ASH_RESOURCES_VECTOR_ICONS_VECTOR_ICONS_H_
« no previous file with comments | « ash/resources/vector_icons/vector_icons.cc.template ('k') | ui/gfx/paint_vector_icon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698