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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2776413002: Reland of Add StyleDifference::needsVisualRectUpdate (Closed)
Patch Set: Fix webkit_unit_tests Created 3 years, 8 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 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
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 3606 matching lines...) Expand 10 before | Expand all | Expand 10 after
3617 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other, 3617 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other,
3618 const StyleDifference&) const; 3618 const StyleDifference&) const;
3619 bool diffNeedsFullLayoutAndPaintInvalidation( 3619 bool diffNeedsFullLayoutAndPaintInvalidation(
3620 const ComputedStyle& other) const; 3620 const ComputedStyle& other) const;
3621 bool diffNeedsFullLayout(const ComputedStyle& other) const; 3621 bool diffNeedsFullLayout(const ComputedStyle& other) const;
3622 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; 3622 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const;
3623 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 3623 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
3624 bool diffNeedsPaintInvalidationObjectForPaintImage( 3624 bool diffNeedsPaintInvalidationObjectForPaintImage(
3625 const StyleImage*, 3625 const StyleImage*,
3626 const ComputedStyle& other) const; 3626 const ComputedStyle& other) const;
3627 bool diffNeedsVisualRectUpdate(const ComputedStyle& other) const;
3627 void updatePropertySpecificDifferences(const ComputedStyle& other, 3628 void updatePropertySpecificDifferences(const ComputedStyle& other,
3628 StyleDifference&) const; 3629 StyleDifference&) const;
3629 3630
3630 static bool shadowListHasCurrentColor(const ShadowList*); 3631 static bool shadowListHasCurrentColor(const ShadowList*);
3631 3632
3632 StyleInheritedVariables& mutableInheritedVariables(); 3633 StyleInheritedVariables& mutableInheritedVariables();
3633 StyleNonInheritedVariables& mutableNonInheritedVariables(); 3634 StyleNonInheritedVariables& mutableNonInheritedVariables();
3634 3635
3635 FRIEND_TEST_ALL_PREFIXES( 3636 FRIEND_TEST_ALL_PREFIXES(
3636 ComputedStyleTest, 3637 ComputedStyleTest,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
3722 m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId); 3723 m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId);
3723 } 3724 }
3724 3725
3725 inline bool ComputedStyle::hasPseudoElementStyle() const { 3726 inline bool ComputedStyle::hasPseudoElementStyle() const {
3726 return m_pseudoBits & ElementPseudoIdMask; 3727 return m_pseudoBits & ElementPseudoIdMask;
3727 } 3728 }
3728 3729
3729 } // namespace blink 3730 } // namespace blink
3730 3731
3731 #endif // ComputedStyle_h 3732 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698