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

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

Issue 1473363003: Invalidate first line display item clients when first line style changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New method Created 5 years 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 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 1530
1531 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot()) ; } 1531 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot()) ; }
1532 1532
1533 static bool isAllowedToModifyLayoutTreeStructure(Document&); 1533 static bool isAllowedToModifyLayoutTreeStructure(Document&);
1534 1534
1535 // The passed rect is mutated into the coordinate space of the paint invalid ation container. 1535 // The passed rect is mutated into the coordinate space of the paint invalid ation container.
1536 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec t&) const; 1536 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec t&) const;
1537 1537
1538 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni t::max(), LayoutUnit::max()); } 1538 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni t::max(), LayoutUnit::max()); }
1539 1539
1540 virtual void invalidateDisplayItemClientsOfFirstLine() { ASSERT_NOT_REACHED( ); }
1541
1540 RefPtr<ComputedStyle> m_style; 1542 RefPtr<ComputedStyle> m_style;
1541 1543
1542 // Oilpan: This untraced pointer to the owning Node is considered safe. 1544 // Oilpan: This untraced pointer to the owning Node is considered safe.
1543 RawPtrWillBeUntracedMember<Node> m_node; 1545 RawPtrWillBeUntracedMember<Node> m_node;
1544 1546
1545 LayoutObject* m_parent; 1547 LayoutObject* m_parent;
1546 LayoutObject* m_previous; 1548 LayoutObject* m_previous;
1547 LayoutObject* m_next; 1549 LayoutObject* m_next;
1548 1550
1549 #if ENABLE(ASSERT) 1551 #if ENABLE(ASSERT)
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 void showTree(const blink::LayoutObject*); 2042 void showTree(const blink::LayoutObject*);
2041 void showLineTree(const blink::LayoutObject*); 2043 void showLineTree(const blink::LayoutObject*);
2042 void showLayoutTree(const blink::LayoutObject* object1); 2044 void showLayoutTree(const blink::LayoutObject* object1);
2043 // We don't make object2 an optional parameter so that showLayoutTree 2045 // We don't make object2 an optional parameter so that showLayoutTree
2044 // can be called from gdb easily. 2046 // can be called from gdb easily.
2045 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2047 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2046 2048
2047 #endif 2049 #endif
2048 2050
2049 #endif // LayoutObject_h 2051 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698