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/style/ComputedStyle.h

Issue 2709693003: Repaint selection when element with ::selection style is recalculated. (Closed)
Patch Set: Fixed review issues Created 3 years, 10 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 3733 matching lines...) Expand 10 before | Expand all | Expand 10 after
3744 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other, 3744 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other,
3745 const StyleDifference&) const; 3745 const StyleDifference&) const;
3746 bool diffNeedsFullLayoutAndPaintInvalidation( 3746 bool diffNeedsFullLayoutAndPaintInvalidation(
3747 const ComputedStyle& other) const; 3747 const ComputedStyle& other) const;
3748 bool diffNeedsFullLayout(const ComputedStyle& other) const; 3748 bool diffNeedsFullLayout(const ComputedStyle& other) const;
3749 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; 3749 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const;
3750 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 3750 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
3751 bool diffNeedsPaintInvalidationObjectForPaintImage( 3751 bool diffNeedsPaintInvalidationObjectForPaintImage(
3752 const StyleImage*, 3752 const StyleImage*,
3753 const ComputedStyle& other) const; 3753 const ComputedStyle& other) const;
3754 bool diffNeedsPaintInvalidationSelection(const ComputedStyle& other) const;
3754 void updatePropertySpecificDifferences(const ComputedStyle& other, 3755 void updatePropertySpecificDifferences(const ComputedStyle& other,
3755 StyleDifference&) const; 3756 StyleDifference&) const;
3756 3757
3757 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, 3758 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin,
3758 ApplyMotionPath) const; 3759 ApplyMotionPath) const;
3759 static bool shadowListHasCurrentColor(const ShadowList*); 3760 static bool shadowListHasCurrentColor(const ShadowList*);
3760 3761
3761 StyleInheritedVariables& mutableInheritedVariables(); 3762 StyleInheritedVariables& mutableInheritedVariables();
3762 StyleNonInheritedVariables& mutableNonInheritedVariables(); 3763 StyleNonInheritedVariables& mutableNonInheritedVariables();
3763 }; 3764 };
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
3847 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); 3848 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1);
3848 } 3849 }
3849 3850
3850 inline bool ComputedStyle::hasPseudoElementStyle() const { 3851 inline bool ComputedStyle::hasPseudoElementStyle() const {
3851 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 3852 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
3852 } 3853 }
3853 3854
3854 } // namespace blink 3855 } // namespace blink
3855 3856
3856 #endif // ComputedStyle_h 3857 #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