OLD | NEW |
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 WebDisplayItemList_h | 5 #ifndef WebDisplayItemList_h |
6 #define WebDisplayItemList_h | 6 #define WebDisplayItemList_h |
7 | 7 |
8 #include "WebBlendMode.h" | 8 #include "WebBlendMode.h" |
9 #include "WebFloatPoint.h" | 9 #include "WebFloatPoint.h" |
10 #include "WebFloatRect.h" | 10 #include "WebFloatRect.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const WebFloatRect& filter_bounds, | 60 const WebFloatRect& filter_bounds, |
61 const WebFloatPoint& origin) {} | 61 const WebFloatPoint& origin) {} |
62 virtual void AppendEndFilterItem() {} | 62 virtual void AppendEndFilterItem() {} |
63 | 63 |
64 // Scroll containers are identified by an opaque pointer. | 64 // Scroll containers are identified by an opaque pointer. |
65 using ScrollContainerId = const void*; | 65 using ScrollContainerId = const void*; |
66 virtual void AppendScrollItem(const WebSize& scroll_offset, | 66 virtual void AppendScrollItem(const WebSize& scroll_offset, |
67 ScrollContainerId) {} | 67 ScrollContainerId) {} |
68 virtual void AppendEndScrollItem() {} | 68 virtual void AppendEndScrollItem() {} |
69 | 69 |
70 virtual void SetIsSuitableForGpuRasterization(bool is_suitable) {} | 70 virtual void SetNumSlowPaths(int num_slow_paths) {} |
71 }; | 71 }; |
72 | 72 |
73 } // namespace blink | 73 } // namespace blink |
74 | 74 |
75 #endif // WebDisplayItemList_h | 75 #endif // WebDisplayItemList_h |
OLD | NEW |