| 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 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; | |
| 20 class SkMatrix44; | 19 class SkMatrix44; |
| 21 class SkPath; | 20 class SkPath; |
| 22 class SkPicture; | 21 class SkPicture; |
| 23 class SkRRect; | 22 class SkRRect; |
| 24 | 23 |
| 25 namespace blink { | 24 namespace blink { |
| 26 struct WebFloatRect; | 25 struct WebFloatRect; |
| 27 struct WebFloatPoint; | 26 struct WebFloatPoint; |
| 28 struct WebRect; | 27 struct WebRect; |
| 29 } | 28 } |
| 30 | 29 |
| 31 namespace cc { | 30 namespace cc { |
| 32 class DisplayItemListSettings; | |
| 33 class FilterOperations; | 31 class FilterOperations; |
| 34 } | 32 } |
| 35 | 33 |
| 36 namespace cc_blink { | 34 namespace cc_blink { |
| 37 | 35 |
| 38 class WebDisplayItemListImpl : public blink::WebDisplayItemList { | 36 class WebDisplayItemListImpl : public blink::WebDisplayItemList { |
| 39 public: | 37 public: |
| 40 CC_BLINK_EXPORT WebDisplayItemListImpl(); | 38 CC_BLINK_EXPORT WebDisplayItemListImpl(); |
| 41 CC_BLINK_EXPORT explicit WebDisplayItemListImpl( | 39 CC_BLINK_EXPORT explicit WebDisplayItemListImpl( |
| 42 cc::DisplayItemList* display_list); | 40 cc::DisplayItemList* display_list); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 72 |
| 75 private: | 73 private: |
| 76 scoped_refptr<cc::DisplayItemList> display_item_list_; | 74 scoped_refptr<cc::DisplayItemList> display_item_list_; |
| 77 | 75 |
| 78 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); | 76 DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); |
| 79 }; | 77 }; |
| 80 | 78 |
| 81 } // namespace cc_blink | 79 } // namespace cc_blink |
| 82 | 80 |
| 83 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ | 81 #endif // CC_BLINK_WEB_DISPLAY_ITEM_LIST_IMPL_H_ |
| OLD | NEW |