| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 RasterInvalidationTracking_h | 5 #ifndef RasterInvalidationTracking_h |
| 6 #define RasterInvalidationTracking_h | 6 #define RasterInvalidationTracking_h |
| 7 | 7 |
| 8 #include "platform/geometry/IntRect.h" | 8 #include "platform/geometry/IntRect.h" |
| 9 #include "platform/geometry/Region.h" | 9 #include "platform/geometry/Region.h" |
| 10 #include "platform/graphics/PaintInvalidationReason.h" | 10 #include "platform/graphics/PaintInvalidationReason.h" |
| 11 #include "platform/graphics/paint/PaintRecord.h" | 11 #include "platform/graphics/paint/PaintRecord.h" |
| 12 #include "platform/json/JSONValues.h" | 12 #include "platform/json/JSONValues.h" |
| 13 #include "platform/wtf/Allocator.h" |
| 14 #include "platform/wtf/text/WTFString.h" |
| 13 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
| 14 #include "wtf/Allocator.h" | |
| 15 #include "wtf/text/WTFString.h" | |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class DisplayItemClient; | 19 class DisplayItemClient; |
| 20 | 20 |
| 21 struct RasterInvalidationInfo { | 21 struct RasterInvalidationInfo { |
| 22 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 22 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 23 // This is for comparison only. Don't dereference because the client may have | 23 // This is for comparison only. Don't dereference because the client may have |
| 24 // died. | 24 // died. |
| 25 const DisplayItemClient* client; | 25 const DisplayItemClient* client; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 typedef HashMap<TargetClass*, RasterInvalidationTracking> | 84 typedef HashMap<TargetClass*, RasterInvalidationTracking> |
| 85 InvalidationTrackingMap; | 85 InvalidationTrackingMap; |
| 86 InvalidationTrackingMap m_invalidationTrackingMap; | 86 InvalidationTrackingMap m_invalidationTrackingMap; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace blink | 89 } // namespace blink |
| 90 | 90 |
| 91 #endif // RasterInvalidationTracking_h | 91 #endif // RasterInvalidationTracking_h |
| OLD | NEW |