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 PaintController_h | 5 #ifndef PaintController_h |
6 #define PaintController_h | 6 #define PaintController_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "platform/RuntimeEnabledFeatures.h" | 9 #include "platform/RuntimeEnabledFeatures.h" |
10 #include "platform/geometry/IntRect.h" | 10 #include "platform/geometry/IntRect.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 209 |
210 int m_numCachedNewItems; | 210 int m_numCachedNewItems; |
211 | 211 |
212 #if DCHECK_IS_ON() | 212 #if DCHECK_IS_ON() |
213 // This is used to check duplicated ids during add(). We could also check | 213 // This is used to check duplicated ids during add(). We could also check |
214 // during commitNewDisplayItems(), but checking during add() helps developer | 214 // during commitNewDisplayItems(), but checking during add() helps developer |
215 // easily find where the duplicated ids are from. | 215 // easily find where the duplicated ids are from. |
216 DisplayItemIndicesByClientMap m_newDisplayItemIndicesByClient; | 216 DisplayItemIndicesByClientMap m_newDisplayItemIndicesByClient; |
217 #endif | 217 #endif |
218 | 218 |
219 DisplayItemCacheGeneration m_currentCacheGeneration; | 219 DisplayItemClient::CacheGenerationOrInvalidationReason m_currentCacheGenerat
ion; |
220 | 220 |
221 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS | 221 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS |
222 // A stack recording subsequence clients that are currently painting. | 222 // A stack recording subsequence clients that are currently painting. |
223 Vector<const DisplayItemClient*> m_currentSubsequenceClients; | 223 Vector<const DisplayItemClient*> m_currentSubsequenceClients; |
224 #endif | 224 #endif |
225 }; | 225 }; |
226 | 226 |
227 } // namespace blink | 227 } // namespace blink |
228 | 228 |
229 #endif // PaintController_h | 229 #endif // PaintController_h |
OLD | NEW |