• bugsnash's avatar
    Refactored out need to pass property to IsValidAnimationPropertyList. · b58fb795
    bugsnash authored
    Part of project Ribbon
    
    This refactor is one step in the process of refactoring out property
    specific logic inside switch cases in
    CSSPropertyParser::ParseSingleValue. This is required to implement the
    parseSingleValue methods in the property APIs without passing property
    ID to the API.
    
    Given that the IsValidAnimationPropertyList function only ever returned
    false if the property passed was CSSPropertyTransitionProperty, this
    check was moved to the calling methods.
    
    The next step in this process will be to refactor out the need to pass
    property to the ConsumeAnimationPropertyList function. At this stage the
    call to IsValidAnimationPropertyList will be moved to the
    CSSPropertyTransitionProperty case only and the check for this property
    will be removed.
    
    The check for this property in
    CSSPropertyParser::ConsumeAnimationShorthand will be refactored out at a
    later stage in project Ribbon.
    
    BUG=668012
    
    Review-Url: https://codereview.chromium.org/2835893002
    Cr-Commit-Position: refs/heads/master@{#467277}
    b58fb795
Name
Last commit
Last update
android_webview Loading commit data...
apps Loading commit data...
ash Loading commit data...
base Loading commit data...
blink Loading commit data...
breakpad Loading commit data...
build Loading commit data...
build_overrides Loading commit data...
cc Loading commit data...
chrome Loading commit data...
chrome_elf Loading commit data...
chromecast Loading commit data...
chromeos Loading commit data...
cloud_print Loading commit data...
components Loading commit data...
content Loading commit data...
courgette Loading commit data...
crypto Loading commit data...
dbus Loading commit data...
device Loading commit data...
docs Loading commit data...
extensions Loading commit data...
gin Loading commit data...
google_apis Loading commit data...
google_update Loading commit data...
gpu Loading commit data...
headless Loading commit data...
infra Loading commit data...
ios Loading commit data...
ipc Loading commit data...
jingle Loading commit data...
mash Loading commit data...
media Loading commit data...
mojo Loading commit data...
native_client_sdk Loading commit data...
net Loading commit data...
pdf Loading commit data...
ppapi Loading commit data...
printing Loading commit data...
remoting Loading commit data...
rlz Loading commit data...
sandbox Loading commit data...
sdch Loading commit data...
services Loading commit data...
skia Loading commit data...
sql Loading commit data...
storage Loading commit data...
styleguide Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
ui Loading commit data...
url Loading commit data...
.clang-format Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.chromium_os Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
PRESUBMIT_test.py Loading commit data...
PRESUBMIT_test_mocks.py Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...