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

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

Issue 2889653002: Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: movecullrect2 rebase-once-and-for-all 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 | 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 23 matching lines...) Expand all
34 34
35 class WebDisplayItemListImpl : public blink::WebDisplayItemList { 35 class WebDisplayItemListImpl : public blink::WebDisplayItemList {
36 public: 36 public:
37 CC_BLINK_EXPORT WebDisplayItemListImpl(); 37 CC_BLINK_EXPORT WebDisplayItemListImpl();
38 CC_BLINK_EXPORT explicit WebDisplayItemListImpl( 38 CC_BLINK_EXPORT explicit WebDisplayItemListImpl(
39 cc::DisplayItemList* display_list); 39 cc::DisplayItemList* display_list);
40 ~WebDisplayItemListImpl() override; 40 ~WebDisplayItemListImpl() override;
41 41
42 // blink::WebDisplayItemList implementation. 42 // blink::WebDisplayItemList implementation.
43 void AppendDrawingItem(const blink::WebRect& visual_rect, 43 void AppendDrawingItem(const blink::WebRect& visual_rect,
44 sk_sp<const cc::PaintRecord> record) override; 44 sk_sp<const cc::PaintRecord> record,
45 const blink::WebRect& record_bounds) override;
45 void AppendClipItem( 46 void AppendClipItem(
46 const blink::WebRect& clip_rect, 47 const blink::WebRect& clip_rect,
47 const blink::WebVector<SkRRect>& rounded_clip_rects) override; 48 const blink::WebVector<SkRRect>& rounded_clip_rects) override;
48 void AppendEndClipItem() override; 49 void AppendEndClipItem() override;
49 void AppendClipPathItem(const SkPath& clip_path, bool antialias) override; 50 void AppendClipPathItem(const SkPath& clip_path, bool antialias) override;
50 void AppendEndClipPathItem() override; 51 void AppendEndClipPathItem() override;
51 void AppendFloatClipItem(const blink::WebFloatRect& clip_rect) override; 52 void AppendFloatClipItem(const blink::WebFloatRect& clip_rect) override;
52 void AppendEndFloatClipItem() override; 53 void AppendEndFloatClipItem() override;
53 void AppendTransformItem(const SkMatrix44& matrix) override; 54 void AppendTransformItem(const SkMatrix44& matrix) override;
54 void AppendEndTransformItem() override; 55 void AppendEndTransformItem() override;
(...skipping 14 matching lines...) Expand all
69 70
70 private: 71 private:
71 scoped_refptr<cc::DisplayItemList> display_item_list_; 72 scoped_refptr<cc::DisplayItemList> display_item_list_;
72 73
73 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); 74 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl);
74 }; 75 };
75 76
76 } // namespace cc_blink 77 } // namespace cc_blink
77 78
78 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ 79 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blink/web_display_item_list_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698