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

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

Issue 1939143002: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad rebase Created 4 years, 7 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/skbitmap_operations.cc ('k') | ui/native_theme/native_theme_win.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SKIA_UTIL_H_ 5 #ifndef UI_GFX_SKIA_UTIL_H_
6 #define UI_GFX_SKIA_UTIL_H_ 6 #define UI_GFX_SKIA_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "skia/ext/refptr.h"
12 #include "third_party/skia/include/core/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
13 #include "third_party/skia/include/core/SkRect.h" 12 #include "third_party/skia/include/core/SkRect.h"
14 #include "third_party/skia/include/core/SkShader.h" 13 #include "third_party/skia/include/core/SkShader.h"
15 #include "ui/gfx/geometry/quad_f.h" 14 #include "ui/gfx/geometry/quad_f.h"
16 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
17 #include "ui/gfx/gfx_export.h" 16 #include "ui/gfx/gfx_export.h"
18 17
19 class SkBitmap; 18 class SkBitmap;
20 class SkDrawLooper; 19 class SkDrawLooper;
21 20
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 92
94 // Converts an hb_position_t to a Skia floating-point value. 93 // Converts an hb_position_t to a Skia floating-point value.
95 GFX_EXPORT SkScalar HarfBuzzUnitsToSkiaScalar(int value); 94 GFX_EXPORT SkScalar HarfBuzzUnitsToSkiaScalar(int value);
96 95
97 // Converts an hb_position_t to a float. 96 // Converts an hb_position_t to a float.
98 GFX_EXPORT float HarfBuzzUnitsToFloat(int value); 97 GFX_EXPORT float HarfBuzzUnitsToFloat(int value);
99 98
100 } // namespace gfx 99 } // namespace gfx
101 100
102 #endif // UI_GFX_SKIA_UTIL_H_ 101 #endif // UI_GFX_SKIA_UTIL_H_
OLDNEW
« no previous file with comments | « ui/gfx/skbitmap_operations.cc ('k') | ui/native_theme/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698