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

Side by Side Diff: third_party/WebKit/public/platform/WebDisplayItemList.h

Issue 2575583002: Remove ClipPathDisplayItem::clip_op_ (Closed)
Patch Set: rebase Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebDisplayItemList_h 5 #ifndef WebDisplayItemList_h
6 #define WebDisplayItemList_h 6 #define WebDisplayItemList_h
7 7
8 #include "WebBlendMode.h" 8 #include "WebBlendMode.h"
9 #include "WebFloatPoint.h" 9 #include "WebFloatPoint.h"
10 #include "WebFloatRect.h" 10 #include "WebFloatRect.h"
11 #include "WebRect.h" 11 #include "WebRect.h"
12 #include "WebSize.h" 12 #include "WebSize.h"
13 #include "WebVector.h" 13 #include "WebVector.h"
14 14
15 #include "third_party/skia/include/core/SkBlendMode.h" 15 #include "third_party/skia/include/core/SkBlendMode.h"
16 #include "third_party/skia/include/core/SkClipOp.h"
17 #include "third_party/skia/include/core/SkRefCnt.h" 16 #include "third_party/skia/include/core/SkRefCnt.h"
18 17
19 class SkColorFilter; 18 class SkColorFilter;
20 class SkMatrix44; 19 class SkMatrix44;
21 class SkPath; 20 class SkPath;
22 class SkPicture; 21 class SkPicture;
23 struct SkRect; 22 struct SkRect;
24 class SkRRect; 23 class SkRRect;
25 24
26 namespace cc { 25 namespace cc {
(...skipping 13 matching lines...) Expand all
40 class WebDisplayItemList { 39 class WebDisplayItemList {
41 public: 40 public:
42 virtual ~WebDisplayItemList() {} 41 virtual ~WebDisplayItemList() {}
43 42
44 virtual void appendDrawingItem(const WebRect& visualRect, 43 virtual void appendDrawingItem(const WebRect& visualRect,
45 sk_sp<const SkPicture>) {} 44 sk_sp<const SkPicture>) {}
46 45
47 virtual void appendClipItem(const WebRect& clipRect, 46 virtual void appendClipItem(const WebRect& clipRect,
48 const WebVector<SkRRect>& roundedClipRects) {} 47 const WebVector<SkRRect>& roundedClipRects) {}
49 virtual void appendEndClipItem() {} 48 virtual void appendEndClipItem() {}
50 virtual void appendClipPathItem(const SkPath&, SkClipOp, bool antialias) {} 49 virtual void appendClipPathItem(const SkPath&, bool antialias) {}
51 virtual void appendEndClipPathItem() {} 50 virtual void appendEndClipPathItem() {}
52 virtual void appendFloatClipItem(const WebFloatRect& clipRect) {} 51 virtual void appendFloatClipItem(const WebFloatRect& clipRect) {}
53 virtual void appendEndFloatClipItem() {} 52 virtual void appendEndFloatClipItem() {}
54 virtual void appendTransformItem(const SkMatrix44&) {} 53 virtual void appendTransformItem(const SkMatrix44&) {}
55 virtual void appendEndTransformItem() {} 54 virtual void appendEndTransformItem() {}
56 virtual void appendCompositingItem(float opacity, 55 virtual void appendCompositingItem(float opacity,
57 SkBlendMode, 56 SkBlendMode,
58 SkRect* bounds, 57 SkRect* bounds,
59 SkColorFilter*) {} 58 SkColorFilter*) {}
60 virtual void appendEndCompositingItem() {} 59 virtual void appendEndCompositingItem() {}
(...skipping 15 matching lines...) Expand all
76 // Specifies the color space that the inputs of this display list were 75 // Specifies the color space that the inputs of this display list were
77 // pre-converted into. If this is specified, then rasterization must not 76 // pre-converted into. If this is specified, then rasterization must not
78 // perform any color correction, and the result must be interpreted as being 77 // perform any color correction, and the result must be interpreted as being
79 // in this color space. 78 // in this color space.
80 virtual void setImpliedColorSpace(const gfx::ColorSpace&) {} 79 virtual void setImpliedColorSpace(const gfx::ColorSpace&) {}
81 }; 80 };
82 81
83 } // namespace blink 82 } // namespace blink
84 83
85 #endif // WebDisplayItemList_h 84 #endif // WebDisplayItemList_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp ('k') | ui/compositor/clip_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698