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

Unified Diff: cc/blink/web_display_item_list_impl.cc

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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 | « cc/blink/web_display_item_list_impl.h ('k') | cc/blink/web_filter_animation_curve_impl.h » ('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.cc
diff --git a/cc/blink/web_display_item_list_impl.cc b/cc/blink/web_display_item_list_impl.cc
index 4ba343101d29f0cdc62484f5d1ab196939c825be..d682b2d2d12b976df5212b102c3610deef625478 100644
--- a/cc/blink/web_display_item_list_impl.cc
+++ b/cc/blink/web_display_item_list_impl.cc
@@ -10,6 +10,7 @@
#include "cc/resources/clip_display_item.h"
#include "cc/resources/drawing_display_item.h"
#include "cc/resources/filter_display_item.h"
+#include "cc/resources/float_clip_display_item.h"
#include "cc/resources/transform_display_item.h"
#include "cc/resources/transparency_display_item.h"
#include "skia/ext/refptr.h"
@@ -52,6 +53,15 @@ void WebDisplayItemListImpl::appendEndClipItem() {
display_item_list_->AppendItem(cc::EndClipDisplayItem::Create());
}
+void WebDisplayItemListImpl::appendFloatClipItem(
+ const blink::WebFloatRect& clip_rect) {
+ display_item_list_->AppendItem(cc::FloatClipDisplayItem::Create(clip_rect));
+}
+
+void WebDisplayItemListImpl::appendEndFloatClipItem() {
+ display_item_list_->AppendItem(cc::EndFloatClipDisplayItem::Create());
+}
+
void WebDisplayItemListImpl::appendTransformItem(const SkMatrix44& matrix) {
gfx::Transform transform;
transform.matrix() = matrix;
« no previous file with comments | « cc/blink/web_display_item_list_impl.h ('k') | cc/blink/web_filter_animation_curve_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698