OLD | NEW |
---|---|
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 CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ |
6 #define CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ | 6 #define CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "cc/blink/cc_blink_export.h" | 10 #include "cc/blink/cc_blink_export.h" |
(...skipping 24 matching lines...) Expand all Loading... | |
35 namespace cc_blink { | 35 namespace cc_blink { |
36 | 36 |
37 class WebDisplayItemListImpl : public blink::WebDisplayItemList { | 37 class WebDisplayItemListImpl : public blink::WebDisplayItemList { |
38 public: | 38 public: |
39 CC_BLINK_EXPORT WebDisplayItemListImpl(); | 39 CC_BLINK_EXPORT WebDisplayItemListImpl(); |
40 CC_BLINK_EXPORT explicit WebDisplayItemListImpl( | 40 CC_BLINK_EXPORT explicit WebDisplayItemListImpl( |
41 cc::DisplayItemList* display_list); | 41 cc::DisplayItemList* display_list); |
42 ~WebDisplayItemListImpl() override; | 42 ~WebDisplayItemListImpl() override; |
43 | 43 |
44 // blink::WebDisplayItemList implementation. | 44 // blink::WebDisplayItemList implementation. |
45 void appendDrawingItem(const blink::WebRect&, const SkPicture*) override; | 45 void appendDrawingItem(const blink::WebRect&, |
46 sk_sp<const SkPicture>) override; | |
reed1
2016/03/21 13:07:55
At some point it will be awkward to still have som
f(malita)
2016/03/21 14:27:49
Yup, there's a de-constification CL on my todo lis
| |
46 void appendClipItem( | 47 void appendClipItem( |
47 const blink::WebRect& visual_rect, | 48 const blink::WebRect& visual_rect, |
48 const blink::WebRect& clip_rect, | 49 const blink::WebRect& clip_rect, |
49 const blink::WebVector<SkRRect>& rounded_clip_rects) override; | 50 const blink::WebVector<SkRRect>& rounded_clip_rects) override; |
50 void appendEndClipItem(const blink::WebRect& visual_rect) override; | 51 void appendEndClipItem(const blink::WebRect& visual_rect) override; |
51 void appendClipPathItem(const blink::WebRect& visual_rect, | 52 void appendClipPathItem(const blink::WebRect& visual_rect, |
52 const SkPath& clip_path, | 53 const SkPath& clip_path, |
53 SkRegion::Op clip_op, | 54 SkRegion::Op clip_op, |
54 bool antialias) override; | 55 bool antialias) override; |
55 void appendEndClipPathItem(const blink::WebRect& visual_rect) override; | 56 void appendEndClipPathItem(const blink::WebRect& visual_rect) override; |
(...skipping 20 matching lines...) Expand all Loading... | |
76 | 77 |
77 private: | 78 private: |
78 scoped_refptr<cc::DisplayItemList> display_item_list_; | 79 scoped_refptr<cc::DisplayItemList> display_item_list_; |
79 | 80 |
80 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); | 81 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); |
81 }; | 82 }; |
82 | 83 |
83 } // namespace cc_blink | 84 } // namespace cc_blink |
84 | 85 |
85 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ | 86 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ |
OLD | NEW |