| 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" |
| 11 #include "WebRect.h" | 11 #include "WebRect.h" |
| 12 #include "WebSize.h" | 12 #include "WebSize.h" |
| 13 #include "WebVector.h" | 13 #include "WebVector.h" |
| 14 | 14 |
| 15 #include "third_party/skia/include/core/SkColorFilter.h" | |
| 16 #include "third_party/skia/include/core/SkRRect.h" | |
| 17 #include "third_party/skia/include/core/SkRefCnt.h" | 15 #include "third_party/skia/include/core/SkRefCnt.h" |
| 18 #include "third_party/skia/include/core/SkRegion.h" | 16 #include "third_party/skia/include/core/SkRegion.h" |
| 19 #include "third_party/skia/include/core/SkXfermode.h" | 17 #include "third_party/skia/include/core/SkXfermode.h" |
| 20 #include "third_party/skia/include/utils/SkMatrix44.h" | |
| 21 | 18 |
| 19 class SkColorFilter; |
| 22 class SkImageFilter; | 20 class SkImageFilter; |
| 23 class SkMatrix44; | 21 class SkMatrix44; |
| 24 class SkPicture; | 22 class SkPicture; |
| 23 struct SkRect; |
| 24 class SkRRect; |
| 25 | 25 |
| 26 namespace cc { | 26 namespace cc { |
| 27 class FilterOperations; | 27 class FilterOperations; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 // An ordered list of items representing content to be rendered (stored in | 32 // An ordered list of items representing content to be rendered (stored in |
| 33 // 'drawing' items) and operations to be performed when rendering this content | 33 // 'drawing' items) and operations to be performed when rendering this content |
| 34 // (stored in 'clip', 'transform', 'filter', etc...). For more details see: | 34 // (stored in 'clip', 'transform', 'filter', etc...). For more details see: |
| (...skipping 22 matching lines...) Expand all Loading... |
| 57 | 57 |
| 58 // Scroll containers are identified by an opaque pointer. | 58 // Scroll containers are identified by an opaque pointer. |
| 59 using ScrollContainerId = const void*; | 59 using ScrollContainerId = const void*; |
| 60 virtual void appendScrollItem(const WebRect& visualRect, const WebSize& scro
llOffset, ScrollContainerId) { } | 60 virtual void appendScrollItem(const WebRect& visualRect, const WebSize& scro
llOffset, ScrollContainerId) { } |
| 61 virtual void appendEndScrollItem(const WebRect& visualRect) { } | 61 virtual void appendEndScrollItem(const WebRect& visualRect) { } |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace blink | 64 } // namespace blink |
| 65 | 65 |
| 66 #endif // WebDisplayItemList_h | 66 #endif // WebDisplayItemList_h |
| OLD | NEW |