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

Side by Side Diff: ui/gfx/vector_icons/vector_icons.cc.template

Issue 1270783005: V1 of material design find in page bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: suffixual f Created 5 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/vector_icons/find_prev.1x.icon ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // vector_icons.cc.template is used to generate vector_icons.cc. Edit the former 5 // vector_icons.cc.template is used to generate vector_icons.cc. Edit the former
6 // rather than the latter. 6 // rather than the latter.
7 7
8 #include "ui/gfx/vector_icons2.h" 8 #include "ui/gfx/vector_icons2.h"
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 13 matching lines...) Expand all
24 24
25 case VectorIconId::VECTOR_ICON_NONE: 25 case VectorIconId::VECTOR_ICON_NONE:
26 NOTREACHED(); 26 NOTREACHED();
27 return nullptr; 27 return nullptr;
28 } 28 }
29 29
30 NOTREACHED(); 30 NOTREACHED();
31 return nullptr; 31 return nullptr;
32 } 32 }
33 33
34 const PathElement* GetPathForVectorIconAt1xScale(VectorIconId id) {
35 switch (id) {
36 TEMPLATE_PLACEHOLDER_1X
37
38 default:
39 return GetPathForVectorIcon(id);
40 }
41 }
42
34 } // namespace gfx 43 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/vector_icons/find_prev.1x.icon ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698