| 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/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "cc/blink/cc_blink_export.h" | 9 #include "cc/blink/cc_blink_export.h" |
| 10 #include "cc/resources/display_item_list.h" | 10 #include "cc/resources/display_item_list.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 namespace blink { | 24 namespace blink { |
| 25 class WebFilterOperations; | 25 class WebFilterOperations; |
| 26 struct WebFloatRect; | 26 struct WebFloatRect; |
| 27 struct WebRect; | 27 struct WebRect; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace cc_blink { | 30 namespace cc_blink { |
| 31 | 31 |
| 32 class WebDisplayItemListImpl : public blink::WebDisplayItemList { | 32 class WebDisplayItemListImpl : public blink::WebDisplayItemList { |
| 33 public: | 33 public: |
| 34 CC_BLINK_EXPORT WebDisplayItemListImpl(); | 34 CC_BLINK_EXPORT WebDisplayItemListImpl(const blink::WebRect& layer_rect); |
| 35 virtual ~WebDisplayItemListImpl(); | 35 virtual ~WebDisplayItemListImpl(); |
| 36 | 36 |
| 37 scoped_refptr<cc::DisplayItemList> ToDisplayItemList(); | 37 scoped_refptr<cc::DisplayItemList> ToDisplayItemList(); |
| 38 | 38 |
| 39 // blink::WebDisplayItemList implementation. | 39 // blink::WebDisplayItemList implementation. |
| 40 virtual void appendDrawingItem(const SkPicture*); | 40 virtual void appendDrawingItem(const SkPicture*); |
| 41 virtual void appendClipItem( | 41 virtual void appendClipItem( |
| 42 const blink::WebRect& clip_rect, | 42 const blink::WebRect& clip_rect, |
| 43 const blink::WebVector<SkRRect>& rounded_clip_rects); | 43 const blink::WebVector<SkRRect>& rounded_clip_rects); |
| 44 virtual void appendEndClipItem(); | 44 virtual void appendEndClipItem(); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 64 | 64 |
| 65 private: | 65 private: |
| 66 scoped_refptr<cc::DisplayItemList> display_item_list_; | 66 scoped_refptr<cc::DisplayItemList> display_item_list_; |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); | 68 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace cc_blink | 71 } // namespace cc_blink |
| 72 | 72 |
| 73 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ | 73 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ |
| OLD | NEW |