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

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

Issue 2772353002: Revert of Add StyleDifference::needsVisualRectUpdate (Closed)
Patch Set: 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 3670 matching lines...) Expand 10 before | Expand all | Expand 10 after
3681 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other, 3681 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other,
3682 const StyleDifference&) const; 3682 const StyleDifference&) const;
3683 bool diffNeedsFullLayoutAndPaintInvalidation( 3683 bool diffNeedsFullLayoutAndPaintInvalidation(
3684 const ComputedStyle& other) const; 3684 const ComputedStyle& other) const;
3685 bool diffNeedsFullLayout(const ComputedStyle& other) const; 3685 bool diffNeedsFullLayout(const ComputedStyle& other) const;
3686 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; 3686 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const;
3687 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 3687 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
3688 bool diffNeedsPaintInvalidationObjectForPaintImage( 3688 bool diffNeedsPaintInvalidationObjectForPaintImage(
3689 const StyleImage*, 3689 const StyleImage*,
3690 const ComputedStyle& other) const; 3690 const ComputedStyle& other) const;
3691 bool diffNeedsVisualRectUpdate(const ComputedStyle& other) const;
3692 void updatePropertySpecificDifferences(const ComputedStyle& other, 3691 void updatePropertySpecificDifferences(const ComputedStyle& other,
3693 StyleDifference&) const; 3692 StyleDifference&) const;
3694 3693
3695 static bool shadowListHasCurrentColor(const ShadowList*); 3694 static bool shadowListHasCurrentColor(const ShadowList*);
3696 3695
3697 StyleInheritedVariables& mutableInheritedVariables(); 3696 StyleInheritedVariables& mutableInheritedVariables();
3698 StyleNonInheritedVariables& mutableNonInheritedVariables(); 3697 StyleNonInheritedVariables& mutableNonInheritedVariables();
3699 }; 3698 };
3700 3699
3701 // FIXME: Reduce/remove the dependency on zoom adjusted int values. 3700 // FIXME: Reduce/remove the dependency on zoom adjusted int values.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
3784 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId); 3783 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId);
3785 } 3784 }
3786 3785
3787 inline bool ComputedStyle::hasPseudoElementStyle() const { 3786 inline bool ComputedStyle::hasPseudoElementStyle() const {
3788 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 3787 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
3789 } 3788 }
3790 3789
3791 } // namespace blink 3790 } // namespace blink
3792 3791
3793 #endif // ComputedStyle_h 3792 #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