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

Side by Side Diff: ui/vector_icons/vector_icons.h.template

Issue 2667753006: Make new target for vector icon structs to replace ui/gfx/vector_icons/ (Closed)
Patch Set: git add again Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // vector_icons.h.template is used to generate vector_icons.h. Edit the former
6 // rather than the latter.
7
8 #ifndef UI_VECTOR_ICONS_VECTOR_ICONS_H_
9 #define UI_VECTOR_ICONS_VECTOR_ICONS_H_
10
11 namespace gfx {
12 struct VectorIcon;
13 }
14
15 #define VECTOR_ICON_TEMPLATE_H(icon_name) \
16 extern const gfx::VectorIcon icon_name;
sky 2017/02/03 16:20:06 Don't you need to export there?
Evan Stade 2017/02/03 18:35:01 I would have thought so, but I believe that only a
17
18 namespace ui {
19
20 TEMPLATE_PLACEHOLDER
21
22 } // namespace ui
23
24 #undef VECTOR_ICON_TEMPLATE_H
25
26 #endif // UI_VECTOR_ICONS_VECTOR_ICONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698