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

Unified Diff: cc/blink/web_display_item_list_impl.h

Issue 2230513005: Move visual rect unioning between paired items to cc::DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/blink/web_display_item_list_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_display_item_list_impl.h
diff --git a/cc/blink/web_display_item_list_impl.h b/cc/blink/web_display_item_list_impl.h
index 3e0ca83f3fff7b17d2efe2fcc9a390aa71ccdd02..9b61e5b17f2708a6aaf3b15b03de0c31244ae0a0 100644
--- a/cc/blink/web_display_item_list_impl.h
+++ b/cc/blink/web_display_item_list_impl.h
@@ -42,38 +42,31 @@ class WebDisplayItemListImpl : public blink::WebDisplayItemList {
~WebDisplayItemListImpl() override;
// blink::WebDisplayItemList implementation.
- void appendDrawingItem(const blink::WebRect&,
- sk_sp<const SkPicture>) override;
+ void appendDrawingItem(const blink::WebRect& visual_rect,
+ sk_sp<const SkPicture> picture) override;
void appendClipItem(
- const blink::WebRect& visual_rect,
const blink::WebRect& clip_rect,
const blink::WebVector<SkRRect>& rounded_clip_rects) override;
- void appendEndClipItem(const blink::WebRect& visual_rect) override;
- void appendClipPathItem(const blink::WebRect& visual_rect,
- const SkPath& clip_path,
+ void appendEndClipItem() override;
+ void appendClipPathItem(const SkPath& clip_path,
SkRegion::Op clip_op,
bool antialias) override;
- void appendEndClipPathItem(const blink::WebRect& visual_rect) override;
- void appendFloatClipItem(const blink::WebRect& visual_rect,
- const blink::WebFloatRect& clip_rect) override;
- void appendEndFloatClipItem(const blink::WebRect& visual_rect) override;
- void appendTransformItem(const blink::WebRect& visual_rect,
- const SkMatrix44& matrix) override;
- void appendEndTransformItem(const blink::WebRect& visual_rect) override;
- void appendCompositingItem(const blink::WebRect& visual_rect,
- float opacity,
+ void appendEndClipPathItem() override;
+ void appendFloatClipItem(const blink::WebFloatRect& clip_rect) override;
+ void appendEndFloatClipItem() override;
+ void appendTransformItem(const SkMatrix44& matrix) override;
+ void appendEndTransformItem() override;
+ void appendCompositingItem(float opacity,
SkXfermode::Mode,
SkRect* bounds,
SkColorFilter*) override;
- void appendEndCompositingItem(const blink::WebRect& visual_rect) override;
- void appendFilterItem(const blink::WebRect& visual_rect,
- const cc::FilterOperations& filters,
+ void appendEndCompositingItem() override;
+ void appendFilterItem(const cc::FilterOperations& filters,
const blink::WebFloatRect& bounds) override;
- void appendEndFilterItem(const blink::WebRect& visual_rect) override;
- void appendScrollItem(const blink::WebRect& visual_rect,
- const blink::WebSize& scrollOffset,
+ void appendEndFilterItem() override;
+ void appendScrollItem(const blink::WebSize& scrollOffset,
ScrollContainerId) override;
- void appendEndScrollItem(const blink::WebRect& visual_rect) override;
+ void appendEndScrollItem() override;
void setIsSuitableForGpuRasterization(bool isSuitable) override;
« 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