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

Side by Side Diff: cc/paint/paint_flags.h

Issue 2855863002: More missing Skia includes (Closed)
Patch Set: Created 3 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 | « no previous file | 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 2017 The Chromium Authors. All rights reserved. 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 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 CC_PAINT_PAINT_FLAGS_H_ 5 #ifndef CC_PAINT_PAINT_FLAGS_H_
6 #define CC_PAINT_PAINT_FLAGS_H_ 6 #define CC_PAINT_PAINT_FLAGS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "cc/paint/paint_export.h" 9 #include "cc/paint/paint_export.h"
10 #include "third_party/skia/include/core/SkCanvas.h" 10 #include "third_party/skia/include/core/SkCanvas.h"
11 #include "third_party/skia/include/core/SkColorFilter.h" 11 #include "third_party/skia/include/core/SkColorFilter.h"
12 #include "third_party/skia/include/core/SkDrawLooper.h" 12 #include "third_party/skia/include/core/SkDrawLooper.h"
13 #include "third_party/skia/include/core/SkImageFilter.h" 13 #include "third_party/skia/include/core/SkImageFilter.h"
14 #include "third_party/skia/include/core/SkMaskFilter.h" 14 #include "third_party/skia/include/core/SkMaskFilter.h"
15 #include "third_party/skia/include/core/SkPaint.h" 15 #include "third_party/skia/include/core/SkPaint.h"
16 #include "third_party/skia/include/core/SkPathEffect.h" 16 #include "third_party/skia/include/core/SkPathEffect.h"
17 #include "third_party/skia/include/core/SkShader.h"
17 #include "third_party/skia/include/core/SkTypeface.h" 18 #include "third_party/skia/include/core/SkTypeface.h"
18 19
19 namespace cc { 20 namespace cc {
20 21
21 using PaintShader = SkShader; 22 using PaintShader = SkShader;
22 23
23 class CC_PAINT_EXPORT PaintFlags { 24 class CC_PAINT_EXPORT PaintFlags {
24 public: 25 public:
25 enum Style { 26 enum Style {
26 kFill_Style = SkPaint::kFill_Style, 27 kFill_Style = SkPaint::kFill_Style,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 return flags.paint_; 219 return flags.paint_;
219 } 220 }
220 221
221 ALWAYS_INLINE const SkPaint* ToSkPaint(const PaintFlags* flags) { 222 ALWAYS_INLINE const SkPaint* ToSkPaint(const PaintFlags* flags) {
222 return &flags->paint_; 223 return &flags->paint_;
223 } 224 }
224 225
225 } // namespace cc 226 } // namespace cc
226 227
227 #endif // CC_PAINT_PAINT_FLAGS_H_ 228 #endif // CC_PAINT_PAINT_FLAGS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698