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

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

Issue 940463005: Remove #ifs from WebDisplayItemListImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « 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/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "cc/blink/cc_blink_export.h" 9 #include "cc/blink/cc_blink_export.h"
10 #include "cc/resources/display_item_list.h" 10 #include "cc/resources/display_item_list.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 SkRegion::Op clip_op, 43 SkRegion::Op clip_op,
44 bool antialias); 44 bool antialias);
45 virtual void appendEndClipPathItem(); 45 virtual void appendEndClipPathItem();
46 virtual void appendFloatClipItem(const blink::WebFloatRect& clip_rect); 46 virtual void appendFloatClipItem(const blink::WebFloatRect& clip_rect);
47 virtual void appendEndFloatClipItem(); 47 virtual void appendEndFloatClipItem();
48 virtual void appendTransformItem(const SkMatrix44& matrix); 48 virtual void appendTransformItem(const SkMatrix44& matrix);
49 virtual void appendEndTransformItem(); 49 virtual void appendEndTransformItem();
50 virtual void appendTransparencyItem(float opacity, 50 virtual void appendTransparencyItem(float opacity,
51 blink::WebBlendMode blend_mode); 51 blink::WebBlendMode blend_mode);
52 virtual void appendEndTransparencyItem(); 52 virtual void appendEndTransparencyItem();
53 #if FILTER_DISPLAY_ITEM_USES_FILTER_OPERATIONS
54 virtual void appendFilterItem(const blink::WebFilterOperations& filters, 53 virtual void appendFilterItem(const blink::WebFilterOperations& filters,
55 const blink::WebFloatRect& bounds); 54 const blink::WebFloatRect& bounds);
56 #else
57 virtual void appendFilterItem(SkImageFilter* filter,
58 const blink::WebFloatRect& bounds);
59 #endif
60 virtual void appendEndFilterItem(); 55 virtual void appendEndFilterItem();
61 56
62 private: 57 private:
63 scoped_refptr<cc::DisplayItemList> display_item_list_; 58 scoped_refptr<cc::DisplayItemList> display_item_list_;
64 59
65 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); 60 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl);
66 }; 61 };
67 62
68 } // namespace cc_blink 63 } // namespace cc_blink
69 64
70 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ 65 #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