| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 LineLayoutItem_h | 5 #ifndef LineLayoutItem_h |
| 6 #define LineLayoutItem_h | 6 #define LineLayoutItem_h |
| 7 | 7 |
| 8 #include "core/layout/LayoutObject.h" | 8 #include "core/layout/LayoutObject.h" |
| 9 #include "core/layout/LayoutObjectInlines.h" | 9 #include "core/layout/LayoutObjectInlines.h" |
| 10 | 10 |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 return m_layoutObject->hasOverflowClip(); | 413 return m_layoutObject->hasOverflowClip(); |
| 414 } | 414 } |
| 415 | 415 |
| 416 // TODO(dgrogan/eae): Can we instead add a TearDown method to the API | 416 // TODO(dgrogan/eae): Can we instead add a TearDown method to the API |
| 417 // instead of exposing this and other shutdown code to line layout? | 417 // instead of exposing this and other shutdown code to line layout? |
| 418 bool documentBeingDestroyed() const | 418 bool documentBeingDestroyed() const |
| 419 { | 419 { |
| 420 return m_layoutObject->documentBeingDestroyed(); | 420 return m_layoutObject->documentBeingDestroyed(); |
| 421 } | 421 } |
| 422 | 422 |
| 423 void invalidateDisplayItemClient(const DisplayItemClient& displayItemClient) | 423 void invalidateDisplayItemClient(const DisplayItemClient& displayItemClient,
PaintInvalidationReason reason) |
| 424 { | 424 { |
| 425 return m_layoutObject->invalidateDisplayItemClient(displayItemClient); | 425 return m_layoutObject->invalidateDisplayItemClient(displayItemClient, re
ason); |
| 426 } | 426 } |
| 427 | 427 |
| 428 LayoutRect visualRect() const | 428 LayoutRect visualRect() const |
| 429 { | 429 { |
| 430 return m_layoutObject->visualRect(); | 430 return m_layoutObject->visualRect(); |
| 431 } | 431 } |
| 432 | 432 |
| 433 bool isHashTableDeletedValue() const | 433 bool isHashTableDeletedValue() const |
| 434 { | 434 { |
| 435 return m_layoutObject == kHashTableDeletedValue; | 435 return m_layoutObject == kHashTableDeletedValue; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 496 |
| 497 template <> | 497 template <> |
| 498 struct HashTraits<blink::LineLayoutItem> : SimpleClassHashTraits<blink::LineLayo
utItem> { | 498 struct HashTraits<blink::LineLayoutItem> : SimpleClassHashTraits<blink::LineLayo
utItem> { |
| 499 STATIC_ONLY(HashTraits); | 499 STATIC_ONLY(HashTraits); |
| 500 }; | 500 }; |
| 501 | 501 |
| 502 } // namespace WTF | 502 } // namespace WTF |
| 503 | 503 |
| 504 | 504 |
| 505 #endif // LineLayoutItem_h | 505 #endif // LineLayoutItem_h |
| OLD | NEW |