Rename CSSStyleSelector files to StyleResolver.
authoralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2012 15:49:08 +0000 (15:49 +0000)
committeralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2012 15:49:08 +0000 (15:49 +0000)
commitf993eae12094f2d6a54abb261b1a919a8d31a764
tree814b66bf5924846d2b107d01f91640a51143fdc2
parent4c16b249fc3a1ba00a79fb85d5017c7b57acdba4
Rename CSSStyleSelector files to StyleResolver.
https://bugs.webkit.org/show_bug.cgi?id=84814

Reviewed by Antti Koivisto.

Rename CSSStyleSelector files to match the new class name StyleResolver.
Update the includes all over the code base to the new name.

Source/WebCore:

No new tests : renaming files, no behavior changes expected.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSAllInOne.cpp:
* css/CSSCalculationValue.cpp:
* css/CSSFontSelector.cpp:
* css/CSSGradientValue.cpp:
* css/MediaQueryEvaluator.cpp:
* css/MediaQueryMatcher.cpp:
* css/SVGCSSStyleSelector.cpp:
* css/StyleBuilder.cpp:
* css/StyleMedia.cpp:
* css/StyleResolver.cpp: Renamed from Source/WebCore/css/CSSStyleSelector.cpp.
(WebCore):
(RuleData):
(WebCore::RuleData::position):
(WebCore::RuleData::rule):
(WebCore::RuleData::selector):
(WebCore::RuleData::hasFastCheckableSelector):
(WebCore::RuleData::hasMultipartSelector):
(WebCore::RuleData::hasRightmostSelectorMatchingHTMLBasedOnRuleHash):
(WebCore::RuleData::containsUncommonAttributeSelector):
(WebCore::RuleData::specificity):
(WebCore::RuleData::linkMatchType):
(WebCore::RuleData::hasDocumentSecurityOrigin):
(WebCore::RuleData::isInRegionRule):
(WebCore::RuleData::descendantSelectorIdentifierHashes):
(SameSizeAsRuleData):
(RuleSet):
(WebCore::RuleSet::create):
(WebCore::RuleSet::disableAutoShrinkToFit):
(WebCore::RuleSet::features):
(WebCore::RuleSet::idRules):
(WebCore::RuleSet::classRules):
(WebCore::RuleSet::tagRules):
(WebCore::RuleSet::shadowPseudoElementRules):
(WebCore::RuleSet::linkPseudoClassRules):
(WebCore::RuleSet::focusPseudoClassRules):
(WebCore::RuleSet::universalRules):
(WebCore::RuleSet::pageRules):
(WebCore::RuleSet::RuleSetSelectorPair::RuleSetSelectorPair):
(RuleSetSelectorPair):
(WebCore::elementCanUseSimpleDefaultStyle):
(WebCore::screenEval):
(WebCore::printEval):
(WebCore::leftToRightDeclaration):
(WebCore::rightToLeftDeclaration):
(WebCore::StyleResolver::StyleResolver):
(WebCore::StyleResolver::addAuthorRulesAndCollectUserRulesFromSheets):
(WebCore::makeRuleSet):
(WebCore::StyleResolver::collectFeatures):
(WebCore::StyleResolver::determineScope):
(WebCore::StyleResolver::ruleSetForScope):
(WebCore::StyleResolver::appendAuthorStylesheets):
(WebCore::StyleResolver::setupScopeStack):
(WebCore::StyleResolver::pushScope):
(WebCore::StyleResolver::popScope):
(WebCore::StyleResolver::pushParentElement):
(WebCore::StyleResolver::popParentElement):
(WebCore::StyleResolver::pushParentShadowRoot):
(WebCore::StyleResolver::popParentShadowRoot):
(WebCore::StyleResolver::addKeyframeStyle):
(WebCore::StyleResolver::~StyleResolver):
(WebCore::StyleResolver::sweepMatchedPropertiesCache):
(WebCore::StyleResolver::Features::Features):
(WebCore::StyleResolver::Features::~Features):
(WebCore::StyleResolver::Features::add):
(WebCore::StyleResolver::Features::clear):
(WebCore::parseUASheet):
(WebCore::loadFullDefaultStyle):
(WebCore::loadSimpleDefaultStyle):
(WebCore::loadViewSourceStyle):
(WebCore::ensureDefaultStyleSheetsForElement):
(WebCore::StyleResolver::addMatchedProperties):
(WebCore::StyleResolver::addElementStyleProperties):
(WebCore::StyleResolver::collectMatchingRules):
(WebCore::StyleResolver::collectMatchingRulesForRegion):
(WebCore::StyleResolver::sortAndTransferMatchedRules):
(WebCore::StyleResolver::matchScopedAuthorRules):
(WebCore::StyleResolver::matchAuthorRules):
(WebCore::StyleResolver::matchUserRules):
(WebCore::StyleResolver::matchUARules):
(MatchingUARulesScope):
(WebCore::MatchingUARulesScope::MatchingUARulesScope):
(WebCore::MatchingUARulesScope::~MatchingUARulesScope):
(WebCore::MatchingUARulesScope::isMatchingUARules):
(WebCore::StyleResolver::collectMatchingRulesForList):
* css/StyleResolver.h: Renamed from Source/WebCore/css/CSSStyleSelector.h.
(WebCore):
(MediaQueryResult):
(WebCore::MediaQueryResult::MediaQueryResult):
(StyleResolver):
(WebCore::StyleResolver::style):
(WebCore::StyleResolver::parentStyle):
(WebCore::StyleResolver::rootElementStyle):
(WebCore::StyleResolver::element):
(WebCore::StyleResolver::document):
(WebCore::StyleResolver::fontDescription):
(WebCore::StyleResolver::parentFontDescription):
(WebCore::StyleResolver::setFontDescription):
(WebCore::StyleResolver::setZoom):
(WebCore::StyleResolver::setEffectiveZoom):
(WebCore::StyleResolver::setTextSizeAdjust):
(WebCore::StyleResolver::hasParentNode):
(WebCore::StyleResolver::pushScope):
(WebCore::StyleResolver::popScope):
(WebCore::StyleResolver::setStyle):
(WebCore::StyleResolver::fontSelector):
(WebCore::StyleResolver::allVisitedStateChanged):
(WebCore::StyleResolver::visitedStateChanged):
(WebCore::StyleResolver::usesSiblingRules):
(WebCore::StyleResolver::usesFirstLineRules):
(WebCore::StyleResolver::usesBeforeAfterRules):
(WebCore::StyleResolver::usesLinkRules):
(WebCore::StyleResolver::RuleFeature::RuleFeature):
(RuleFeature):
(Features):
(WebCore::StyleResolver::addMatchedRule):
(WebCore::StyleResolver::MatchRanges::MatchRanges):
(MatchRanges):
(WebCore::StyleResolver::MatchedProperties::MatchedProperties):
(MatchedProperties):
(WebCore::StyleResolver::MatchResult::MatchResult):
(MatchResult):
(WebCore::StyleResolver::MatchOptions::MatchOptions):
(MatchOptions):
(WebCore::StyleResolver::isRightPage):
(WebCore::StyleResolver::styleNotYetAvailable):
(WebCore::StyleResolver::applyPropertyToRegularStyle):
(WebCore::StyleResolver::applyPropertyToVisitedLinkStyle):
(MatchedPropertiesCacheItem):
(WebCore::StyleResolver::scopeStackIsConsistent):
(WebCore::StyleResolver::ScopeStackFrame::ScopeStackFrame):
(ScopeStackFrame):
* css/WebKitCSSMatrix.cpp:
* dom/Document.cpp:
* dom/Element.cpp:
* dom/Node.cpp:
* dom/ShadowRoot.cpp:
* dom/ShadowTree.cpp:
* dom/StyledElement.cpp:
* editing/ApplyStyleCommand.cpp:
* editing/EditingStyle.cpp:
* editing/Editor.cpp:
* editing/markup.cpp:
* history/CachedPage.cpp:
* html/HTMLDocument.cpp:
* html/HTMLLinkElement.cpp:
* html/HTMLOptGroupElement.cpp:
* html/HTMLOptionElement.cpp:
* html/ValidationMessage.cpp:
* html/canvas/CanvasRenderingContext2D.cpp:
* html/shadow/MediaControlElements.cpp:
* inspector/InspectorCSSAgent.cpp:
* inspector/InspectorDOMAgent.cpp:
* inspector/InspectorStyleSheet.cpp:
* loader/LinkLoader.cpp:
* page/DOMWindow.cpp:
* page/FrameView.cpp:
* page/Page.cpp:
* page/animation/KeyframeAnimation.cpp:
* platform/qt/RenderThemeQt.cpp:
* platform/qt/RenderThemeQtMobile.cpp:
* rendering/RenderLayer.cpp:
* rendering/RenderLayerBacking.cpp:
* rendering/RenderListBox.cpp:
* rendering/RenderMenuList.cpp:
* rendering/RenderObject.cpp:
* rendering/RenderRegion.cpp:
* rendering/RenderSlider.cpp:
* rendering/RenderTextControlSingleLine.cpp:
* rendering/RenderThemeMac.mm:
* rendering/RenderThemeSafari.cpp:
* rendering/style/RenderStyle.cpp:
* rendering/style/StyleGeneratedImage.cpp:
* rendering/style/StyleRareNonInheritedData.cpp:
* rendering/svg/RenderSVGInlineText.cpp:
* svg/SVGClipPathElement.cpp:
* svg/SVGElement.cpp:
* svg/SVGFontFaceElement.cpp:
* svg/SVGGradientElement.cpp:
* svg/SVGMaskElement.cpp:
* svg/SVGUseElement.cpp:

Source/WebKit/chromium:

* src/AutofillPopupMenuClient.cpp:
* src/WebViewImpl.cpp:

Source/WebKit/qt:

* Api/qwebelement.cpp:
* WebCoreSupport/RenderThemeQStyle.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@115215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
73 files changed:
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Target.pri
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.vcproj/WebCore.vcproj
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/css/CSSAllInOne.cpp
Source/WebCore/css/CSSCalculationValue.cpp
Source/WebCore/css/CSSFontSelector.cpp
Source/WebCore/css/CSSGradientValue.cpp
Source/WebCore/css/MediaQueryEvaluator.cpp
Source/WebCore/css/MediaQueryMatcher.cpp
Source/WebCore/css/SVGCSSStyleSelector.cpp
Source/WebCore/css/StyleBuilder.cpp
Source/WebCore/css/StyleMedia.cpp
Source/WebCore/css/StyleResolver.cpp [moved from Source/WebCore/css/CSSStyleSelector.cpp with 87% similarity]
Source/WebCore/css/StyleResolver.h [moved from Source/WebCore/css/CSSStyleSelector.h with 99% similarity]
Source/WebCore/css/WebKitCSSMatrix.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Element.cpp
Source/WebCore/dom/Node.cpp
Source/WebCore/dom/ShadowRoot.cpp
Source/WebCore/dom/ShadowTree.cpp
Source/WebCore/dom/StyledElement.cpp
Source/WebCore/editing/ApplyStyleCommand.cpp
Source/WebCore/editing/EditingStyle.cpp
Source/WebCore/editing/Editor.cpp
Source/WebCore/editing/markup.cpp
Source/WebCore/history/CachedPage.cpp
Source/WebCore/html/HTMLDocument.cpp
Source/WebCore/html/HTMLLinkElement.cpp
Source/WebCore/html/HTMLOptGroupElement.cpp
Source/WebCore/html/HTMLOptionElement.cpp
Source/WebCore/html/ValidationMessage.cpp
Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
Source/WebCore/html/shadow/MediaControlElements.cpp
Source/WebCore/inspector/InspectorCSSAgent.cpp
Source/WebCore/inspector/InspectorDOMAgent.cpp
Source/WebCore/inspector/InspectorStyleSheet.cpp
Source/WebCore/loader/LinkLoader.cpp
Source/WebCore/page/DOMWindow.cpp
Source/WebCore/page/FrameView.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/page/animation/KeyframeAnimation.cpp
Source/WebCore/platform/qt/RenderThemeQt.cpp
Source/WebCore/platform/qt/RenderThemeQtMobile.cpp
Source/WebCore/rendering/RenderLayer.cpp
Source/WebCore/rendering/RenderLayerBacking.cpp
Source/WebCore/rendering/RenderListBox.cpp
Source/WebCore/rendering/RenderMenuList.cpp
Source/WebCore/rendering/RenderObject.cpp
Source/WebCore/rendering/RenderRegion.cpp
Source/WebCore/rendering/RenderSlider.cpp
Source/WebCore/rendering/RenderTextControlSingleLine.cpp
Source/WebCore/rendering/RenderThemeMac.mm
Source/WebCore/rendering/RenderThemeSafari.cpp
Source/WebCore/rendering/style/RenderStyle.cpp
Source/WebCore/rendering/style/StyleGeneratedImage.cpp
Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp
Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
Source/WebCore/svg/SVGClipPathElement.cpp
Source/WebCore/svg/SVGElement.cpp
Source/WebCore/svg/SVGFontFaceElement.cpp
Source/WebCore/svg/SVGGradientElement.cpp
Source/WebCore/svg/SVGMaskElement.cpp
Source/WebCore/svg/SVGUseElement.cpp
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/AutofillPopupMenuClient.cpp
Source/WebKit/chromium/src/WebViewImpl.cpp
Source/WebKit/qt/Api/qwebelement.cpp
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/RenderThemeQStyle.cpp