| 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 DisplayItem_h | 5 #ifndef DisplayItem_h |
| 6 #define DisplayItem_h | 6 #define DisplayItem_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/graphics/ContiguousContainer.h" | 9 #include "platform/graphics/ContiguousContainer.h" |
| 10 #include "platform/graphics/paint/DisplayItemClient.h" | 10 #include "platform/graphics/paint/DisplayItemClient.h" |
| 11 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
| 12 #include "wtf/Assertions.h" | 12 #include "wtf/Assertions.h" |
| 13 #include "wtf/Noncopyable.h" | 13 #include "wtf/Noncopyable.h" |
| 14 #include "wtf/PassOwnPtr.h" | |
| 15 | 14 |
| 16 #ifndef NDEBUG | 15 #ifndef NDEBUG |
| 17 #include "wtf/text/StringBuilder.h" | 16 #include "wtf/text/StringBuilder.h" |
| 18 #include "wtf/text/WTFString.h" | 17 #include "wtf/text/WTFString.h" |
| 19 #endif | 18 #endif |
| 20 | 19 |
| 21 class SkPictureGpuAnalyzer; | 20 class SkPictureGpuAnalyzer; |
| 22 | 21 |
| 23 namespace blink { | 22 namespace blink { |
| 24 | 23 |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 397 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
| 399 #endif | 398 #endif |
| 400 | 399 |
| 401 private: | 400 private: |
| 402 bool isEnd() const final { return true; } | 401 bool isEnd() const final { return true; } |
| 403 }; | 402 }; |
| 404 | 403 |
| 405 } // namespace blink | 404 } // namespace blink |
| 406 | 405 |
| 407 #endif // DisplayItem_h | 406 #endif // DisplayItem_h |
| OLD | NEW |