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

Side by Side Diff: cc/blink/web_display_item_list_impl.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. 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
« no previous file with comments | « cc/blink/scrollbar_impl.cc ('k') | cc/blink/web_display_item_list_impl.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 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
35 35
36 class WebDisplayItemListImpl : public blink::WebDisplayItemList { 36 class WebDisplayItemListImpl : public blink::WebDisplayItemList {
37 public: 37 public:
38 CC_BLINK_EXPORT WebDisplayItemListImpl(); 38 CC_BLINK_EXPORT WebDisplayItemListImpl();
39 CC_BLINK_EXPORT explicit WebDisplayItemListImpl( 39 CC_BLINK_EXPORT explicit WebDisplayItemListImpl(
40 cc::DisplayItemList* display_list); 40 cc::DisplayItemList* display_list);
41 ~WebDisplayItemListImpl() override; 41 ~WebDisplayItemListImpl() override;
42 42
43 // blink::WebDisplayItemList implementation. 43 // blink::WebDisplayItemList implementation.
44 void appendDrawingItem(const blink::WebRect& visual_rect, 44 void appendDrawingItem(const blink::WebRect& visual_rect,
45 sk_sp<const SkPicture> picture) override; 45 sk_sp<const CdlPicture> picture) override;
46 void appendClipItem( 46 void appendClipItem(
47 const blink::WebRect& clip_rect, 47 const blink::WebRect& clip_rect,
48 const blink::WebVector<SkRRect>& rounded_clip_rects) override; 48 const blink::WebVector<SkRRect>& rounded_clip_rects) override;
49 void appendEndClipItem() override; 49 void appendEndClipItem() override;
50 void appendClipPathItem(const SkPath& clip_path, 50 void appendClipPathItem(const SkPath& clip_path,
51 SkRegion::Op clip_op, 51 SkRegion::Op clip_op,
52 bool antialias) override; 52 bool antialias) override;
53 void appendEndClipPathItem() override; 53 void appendEndClipPathItem() override;
54 void appendFloatClipItem(const blink::WebFloatRect& clip_rect) override; 54 void appendFloatClipItem(const blink::WebFloatRect& clip_rect) override;
55 void appendEndFloatClipItem() override; 55 void appendEndFloatClipItem() override;
(...skipping 18 matching lines...) Expand all
74 74
75 private: 75 private:
76 scoped_refptr<cc::DisplayItemList> display_item_list_; 76 scoped_refptr<cc::DisplayItemList> display_item_list_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); 78 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl);
79 }; 79 };
80 80
81 } // namespace cc_blink 81 } // namespace cc_blink
82 82
83 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ 83 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/scrollbar_impl.cc ('k') | cc/blink/web_display_item_list_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698