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

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

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 years, 10 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 | « cc/blink/web_compositor_support_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"
11 #include "cc/playback/display_item_list.h" 11 #include "cc/playback/display_item_list.h"
12 #include "third_party/WebKit/public/platform/WebDisplayItemList.h" 12 #include "third_party/WebKit/public/platform/WebDisplayItemList.h"
13 #include "third_party/WebKit/public/platform/WebVector.h" 13 #include "third_party/WebKit/public/platform/WebVector.h"
14 #include "third_party/skia/include/core/SkRegion.h" 14 #include "third_party/skia/include/core/SkRegion.h"
15 #include "third_party/skia/include/core/SkXfermode.h" 15 #include "third_party/skia/include/core/SkXfermode.h"
16 #include "ui/gfx/geometry/point_f.h" 16 #include "ui/gfx/geometry/point_f.h"
17 17
18 class SkColorFilter; 18 class SkColorFilter;
19 class SkImageFilter; 19 class SkImageFilter;
20 class SkMatrix44; 20 class SkMatrix44;
21 class SkPath; 21 class SkPath;
22 class SkPicture; 22 class SkPicture;
23 class SkRRect; 23 class SkRRect;
24 24
25 namespace blink { 25 namespace blink {
26 class WebFilterOperations;
27 struct WebFloatRect; 26 struct WebFloatRect;
28 struct WebRect; 27 struct WebRect;
29 } 28 }
30 29
31 namespace cc { 30 namespace cc {
32 class DisplayItemListSettings; 31 class DisplayItemListSettings;
32 class FilterOperations;
33 } 33 }
34 34
35 namespace cc_blink { 35 namespace cc_blink {
36 36
37 class WebDisplayItemListImpl : public blink::WebDisplayItemList { 37 class WebDisplayItemListImpl : public blink::WebDisplayItemList {
38 public: 38 public:
39 CC_BLINK_EXPORT WebDisplayItemListImpl(); 39 CC_BLINK_EXPORT WebDisplayItemListImpl();
40 CC_BLINK_EXPORT explicit WebDisplayItemListImpl( 40 CC_BLINK_EXPORT explicit WebDisplayItemListImpl(
41 cc::DisplayItemList* display_list); 41 cc::DisplayItemList* display_list);
42 ~WebDisplayItemListImpl() override; 42 ~WebDisplayItemListImpl() override;
(...skipping 16 matching lines...) Expand all
59 void appendTransformItem(const blink::WebRect& visual_rect, 59 void appendTransformItem(const blink::WebRect& visual_rect,
60 const SkMatrix44& matrix) override; 60 const SkMatrix44& matrix) override;
61 void appendEndTransformItem(const blink::WebRect& visual_rect) override; 61 void appendEndTransformItem(const blink::WebRect& visual_rect) override;
62 void appendCompositingItem(const blink::WebRect& visual_rect, 62 void appendCompositingItem(const blink::WebRect& visual_rect,
63 float opacity, 63 float opacity,
64 SkXfermode::Mode, 64 SkXfermode::Mode,
65 SkRect* bounds, 65 SkRect* bounds,
66 SkColorFilter*) override; 66 SkColorFilter*) override;
67 void appendEndCompositingItem(const blink::WebRect& visual_rect) override; 67 void appendEndCompositingItem(const blink::WebRect& visual_rect) override;
68 void appendFilterItem(const blink::WebRect& visual_rect, 68 void appendFilterItem(const blink::WebRect& visual_rect,
69 const blink::WebFilterOperations& filters, 69 const cc::FilterOperations& filters,
70 const blink::WebFloatRect& bounds) override; 70 const blink::WebFloatRect& bounds) override;
71 void appendEndFilterItem(const blink::WebRect& visual_rect) override; 71 void appendEndFilterItem(const blink::WebRect& visual_rect) override;
72 void appendScrollItem(const blink::WebRect& visual_rect, 72 void appendScrollItem(const blink::WebRect& visual_rect,
73 const blink::WebSize& scrollOffset, 73 const blink::WebSize& scrollOffset,
74 ScrollContainerId) override; 74 ScrollContainerId) override;
75 void appendEndScrollItem(const blink::WebRect& visual_rect) override; 75 void appendEndScrollItem(const blink::WebRect& visual_rect) override;
76 76
77 private: 77 private:
78 scoped_refptr<cc::DisplayItemList> display_item_list_; 78 scoped_refptr<cc::DisplayItemList> display_item_list_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); 80 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl);
81 }; 81 };
82 82
83 } // namespace cc_blink 83 } // namespace cc_blink
84 84
85 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ 85 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/web_compositor_support_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