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

Side by Side Diff: ui/views/resources/vector_icons/vector_icons.cc.template

Issue 2653223005: Move views vector icons from source_set to part of views target. (Closed)
Patch Set: rebase 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.cc.template is used to generate vector_icons.cc. Edit the former
6 // rather than the latter.
7
8 #include "ui/views/resources/vector_icons/vector_icons.h"
9
10 #include "base/logging.h"
11 #include "ui/gfx/vector_icon_types.h"
12
13 #define PATH_ELEMENT_TEMPLATE(path_name, ...) \
14 static constexpr gfx::PathElement path_name[] = {__VA_ARGS__};
15
16 #define VECTOR_ICON_TEMPLATE(icon_name, path_name, path_name_1x) \
17 const gfx::VectorIcon icon_name = { path_name , path_name_1x };
18
19 namespace views {
20
21 using namespace gfx;
22
23 TEMPLATE_PLACEHOLDER
24
25 }
OLDNEW
« no previous file with comments | « ui/views/resources/vector_icons/submenu_arrow.1x.icon ('k') | ui/views/resources/vector_icons/vector_icons.h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698