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

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

Issue 2107043002: Schedule cursor update on URL cursor image loaded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: eae's review Created 4 years, 5 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 /* 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 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1610 void clearLayoutRootIfNeeded() const; 1610 void clearLayoutRootIfNeeded() const;
1611 1611
1612 bool isInert() const; 1612 bool isInert() const;
1613 1613
1614 void updateImage(StyleImage*, StyleImage*); 1614 void updateImage(StyleImage*, StyleImage*);
1615 1615
1616 void scheduleRelayout(); 1616 void scheduleRelayout();
1617 1617
1618 void updateShapeImage(const ShapeValue*, const ShapeValue*); 1618 void updateShapeImage(const ShapeValue*, const ShapeValue*);
1619 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers ); 1619 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers );
1620 void updateCursorImages(const CursorList* oldCursors, const CursorList* newC ursors);
1620 1621
1621 void setNeedsOverflowRecalcAfterStyleChange(); 1622 void setNeedsOverflowRecalcAfterStyleChange();
1622 1623
1623 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox 1624 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox
1624 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700. 1625 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700.
1625 inline void markAncestorsForOverflowRecalcIfNeeded(); 1626 inline void markAncestorsForOverflowRecalcIfNeeded();
1626 1627
1627 inline void markAncestorsForPaintInvalidation(); 1628 inline void markAncestorsForPaintInvalidation();
1628 1629
1629 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject& paintInv alidationContainer, const PaintInvalidationState&, PaintInvalidationReason); 1630 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject& paintInv alidationContainer, const PaintInvalidationState&, PaintInvalidationReason);
(...skipping 14 matching lines...) Expand all
1644 1645
1645 LayoutFlowThread* locateFlowThreadContainingBlock() const; 1646 LayoutFlowThread* locateFlowThreadContainingBlock() const;
1646 void removeFromLayoutFlowThreadRecursive(LayoutFlowThread*); 1647 void removeFromLayoutFlowThreadRecursive(LayoutFlowThread*);
1647 1648
1648 ComputedStyle* cachedFirstLineStyle() const; 1649 ComputedStyle* cachedFirstLineStyle() const;
1649 StyleDifference adjustStyleDifference(StyleDifference) const; 1650 StyleDifference adjustStyleDifference(StyleDifference) const;
1650 1651
1651 Color selectionColor(int colorProperty, const GlobalPaintFlags) const; 1652 Color selectionColor(int colorProperty, const GlobalPaintFlags) const;
1652 1653
1653 void removeShapeImageClient(ShapeValue*); 1654 void removeShapeImageClient(ShapeValue*);
1655 void removeCursorImageClient(const CursorList*);
1654 1656
1655 #if ENABLE(ASSERT) 1657 #if ENABLE(ASSERT)
1656 void checkBlockPositionedObjectsNeedLayout(); 1658 void checkBlockPositionedObjectsNeedLayout();
1657 #endif 1659 #endif
1658 1660
1659 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot()) ; } 1661 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot()) ; }
1660 1662
1661 static bool isAllowedToModifyLayoutTreeStructure(Document&); 1663 static bool isAllowedToModifyLayoutTreeStructure(Document&);
1662 1664
1663 // Returns the parent for paint invalidation. 1665 // Returns the parent for paint invalidation.
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
2180 void showTree(const blink::LayoutObject*); 2182 void showTree(const blink::LayoutObject*);
2181 void showLineTree(const blink::LayoutObject*); 2183 void showLineTree(const blink::LayoutObject*);
2182 void showLayoutTree(const blink::LayoutObject* object1); 2184 void showLayoutTree(const blink::LayoutObject* object1);
2183 // We don't make object2 an optional parameter so that showLayoutTree 2185 // We don't make object2 an optional parameter so that showLayoutTree
2184 // can be called from gdb easily. 2186 // can be called from gdb easily.
2185 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2187 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2186 2188
2187 #endif 2189 #endif
2188 2190
2189 #endif // LayoutObject_h 2191 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFrame.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698