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

Side by Side Diff: ui/gfx/paint_vector_icon.h

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/paint_throbber.h ('k') | ui/gfx/paint_vector_icon.cc » ('j') | 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 #ifndef UI_GFX_PAINT_VECTOR_ICON_H_ 5 #ifndef UI_GFX_PAINT_VECTOR_ICON_H_
6 #define UI_GFX_PAINT_VECTOR_ICON_H_ 6 #define UI_GFX_PAINT_VECTOR_ICON_H_
7 7
8 #include "base/basictypes.h" 8 #include <stddef.h>
9
9 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/gfx_export.h" 11 #include "ui/gfx/gfx_export.h"
11 #include "ui/gfx/image/image_skia.h" 12 #include "ui/gfx/image/image_skia.h"
12 13
13 namespace gfx { 14 namespace gfx {
14 15
15 class Canvas; 16 class Canvas;
16 enum class VectorIconId; 17 enum class VectorIconId;
17 18
18 // Draws a vector icon identified by |id| onto |canvas| at (0, 0). |dip_size| 19 // Draws a vector icon identified by |id| onto |canvas| at (0, 0). |dip_size|
(...skipping 21 matching lines...) Expand all
40 // a canvas. This should only be used as a debugging aid and should never be 41 // a canvas. This should only be used as a debugging aid and should never be
41 // used in production code. 42 // used in production code.
42 GFX_EXPORT ImageSkia CreateVectorIconFromSource(const std::string& source, 43 GFX_EXPORT ImageSkia CreateVectorIconFromSource(const std::string& source,
43 size_t dip_size, 44 size_t dip_size,
44 SkColor color); 45 SkColor color);
45 #endif 46 #endif
46 47
47 } // namespace gfx 48 } // namespace gfx
48 49
49 #endif // UI_GFX_PAINT_VECTOR_ICON_H_ 50 #endif // UI_GFX_PAINT_VECTOR_ICON_H_
OLDNEW
« no previous file with comments | « ui/gfx/paint_throbber.h ('k') | ui/gfx/paint_vector_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698