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

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

Issue 2732113002: Move ::selection invalidation to applyPseudoStyleChanges. (Closed)
Patch Set: Rebased Created 3 years, 9 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 3692 matching lines...) Expand 10 before | Expand all | Expand 10 after
3703 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other, 3703 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other,
3704 const StyleDifference&) const; 3704 const StyleDifference&) const;
3705 bool diffNeedsFullLayoutAndPaintInvalidation( 3705 bool diffNeedsFullLayoutAndPaintInvalidation(
3706 const ComputedStyle& other) const; 3706 const ComputedStyle& other) const;
3707 bool diffNeedsFullLayout(const ComputedStyle& other) const; 3707 bool diffNeedsFullLayout(const ComputedStyle& other) const;
3708 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; 3708 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const;
3709 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 3709 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
3710 bool diffNeedsPaintInvalidationObjectForPaintImage( 3710 bool diffNeedsPaintInvalidationObjectForPaintImage(
3711 const StyleImage*, 3711 const StyleImage*,
3712 const ComputedStyle& other) const; 3712 const ComputedStyle& other) const;
3713 bool diffNeedsPaintInvalidationSelection(const ComputedStyle& other) const;
3714 void updatePropertySpecificDifferences(const ComputedStyle& other, 3713 void updatePropertySpecificDifferences(const ComputedStyle& other,
3715 StyleDifference&) const; 3714 StyleDifference&) const;
3716 3715
3717 static bool shadowListHasCurrentColor(const ShadowList*); 3716 static bool shadowListHasCurrentColor(const ShadowList*);
3718 3717
3719 StyleInheritedVariables& mutableInheritedVariables(); 3718 StyleInheritedVariables& mutableInheritedVariables();
3720 StyleNonInheritedVariables& mutableNonInheritedVariables(); 3719 StyleNonInheritedVariables& mutableNonInheritedVariables();
3721 }; 3720 };
3722 3721
3723 // FIXME: Reduce/remove the dependency on zoom adjusted int values. 3722 // FIXME: Reduce/remove the dependency on zoom adjusted int values.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
3806 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId); 3805 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - FirstPublicPseudoId);
3807 } 3806 }
3808 3807
3809 inline bool ComputedStyle::hasPseudoElementStyle() const { 3808 inline bool ComputedStyle::hasPseudoElementStyle() const {
3810 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 3809 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
3811 } 3810 }
3812 3811
3813 } // namespace blink 3812 } // namespace blink
3814 3813
3815 #endif // ComputedStyle_h 3814 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.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