1 // Copyright 2015 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.
5 // vector_icons.cc.template is used to generate vector_icons.cc. Edit the former
6 // rather than the latter.
8 #include "ui/gfx/vector_icons2.h"
10 #include "base/logging.h"
11 #include "ui/gfx/vector_icon_types.h"
13 #define ICON_TEMPLATE(icon_name, ...) \
14 case VectorIconId::icon_name: {\
15 static PathElement path[] = {__VA_ARGS__};\
21 const PathElement* GetPathForVectorIcon(VectorIconId id) {
25 case VectorIconId::VECTOR_ICON_NONE:
34 const PathElement* GetPathForVectorIconAt1xScale(VectorIconId id) {
36 TEMPLATE_PLACEHOLDER_1X
39 return GetPathForVectorIcon(id);