Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: third_party/WebKit/Source/core/layout/api/LineLayoutItem.h

Issue 2051333005: Let FrameView track object paint invalidations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TrackInvalidation
Patch Set: NeedsRebaseline Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698