|
|
DescriptionImplemented parseSingleValue in CSSPropertyAPICounterIncrement.
Part of Project Ribbon, separating the parsing logic for CSS
properties from the parser into an API.
This patch
- added parseSingleValue method to the CSSPropertyAPICounterIncrement
API, with parsing logic from CSSPropertyParser
- removed CSSPropertyCounterIncrement from the switch statement in
CSSPropertyParser::parseSingleValue, calling the API instead using
a CSSPropertyDescriptor
- added parseSingleValue to counter-increment in CSSProperties.json5
so it will be added to the generated files for the api
Diff in generated CSSPropertyAPICounterIncrement.h:
https://gist.github.com/BugsNash/ac16598cbe0677824308a64a52e33213/revisions
Diff in generated CSSPropertyDescriptor.cpp:
https://gist.github.com/BugsNash/7156559ba47f4ac929951959fe19cb93/revisions
BUG=668012
Review-Url: https://codereview.chromium.org/2783543002
Cr-Original-Commit-Position: refs/heads/master@{#462379}
Committed: https://chromium.googlesource.com/chromium/src/+/16f5c5b2155faa46890e2c5ad18bd27f7c506deb
Review-Url: https://codereview.chromium.org/2783543002
Cr-Commit-Position: refs/heads/master@{#462789}
Committed: https://chromium.googlesource.com/chromium/src/+/a61ff59e5d2030e2aaf4db89d8bb6767c410eb6d
Patch Set 1 #Patch Set 2 : rebased #Patch Set 3 : rebased #Patch Set 4 : rebased #Patch Set 5 : Changed CSSParserContext pointer to reference for compatibility with previous patch #
Messages
Total messages: 37 (26 generated)
The CQ bit was checked by bugsnash@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by bugsnash@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
bugsnash@chromium.org changed reviewers: + ericwilligers@chromium.org
The CQ bit was checked by bugsnash@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
bugsnash@chromium.org changed reviewers: + meade@chromium.org
bugsnash@chromium.org changed reviewers: + meade@chromium.orgu - meade@chromium.org
+meade@ for owners
bugsnash@chromium.org changed reviewers: + meade@chromium.org - meade@chromium.orgu
whoops added wrong email for Eddy. bump :s
lgtm
The CQ bit was checked by bugsnash@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1491455441257980, "parent_rev": "233f4e71bd49e79e477ef3ba814d53e8036e3c50", "commit_rev": "16f5c5b2155faa46890e2c5ad18bd27f7c506deb"}
Message was sent while issue was closed.
Description was changed from ========== Implemented parseSingleValue in CSSPropertyAPICounterIncrement. Part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch - added parseSingleValue method to the CSSPropertyAPICounterIncrement API, with parsing logic from CSSPropertyParser - removed CSSPropertyCounterIncrement from the switch statement in CSSPropertyParser::parseSingleValue, calling the API instead using a CSSPropertyDescriptor - added parseSingleValue to counter-increment in CSSProperties.json5 so it will be added to the generated files for the api Diff in generated CSSPropertyAPICounterIncrement.h: https://gist.github.com/BugsNash/ac16598cbe0677824308a64a52e33213/revisions Diff in generated CSSPropertyDescriptor.cpp: https://gist.github.com/BugsNash/7156559ba47f4ac929951959fe19cb93/revisions BUG=668012 ========== to ========== Implemented parseSingleValue in CSSPropertyAPICounterIncrement. Part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch - added parseSingleValue method to the CSSPropertyAPICounterIncrement API, with parsing logic from CSSPropertyParser - removed CSSPropertyCounterIncrement from the switch statement in CSSPropertyParser::parseSingleValue, calling the API instead using a CSSPropertyDescriptor - added parseSingleValue to counter-increment in CSSProperties.json5 so it will be added to the generated files for the api Diff in generated CSSPropertyAPICounterIncrement.h: https://gist.github.com/BugsNash/ac16598cbe0677824308a64a52e33213/revisions Diff in generated CSSPropertyDescriptor.cpp: https://gist.github.com/BugsNash/7156559ba47f4ac929951959fe19cb93/revisions BUG=668012 Review-Url: https://codereview.chromium.org/2783543002 Cr-Commit-Position: refs/heads/master@{#462379} Committed: https://chromium.googlesource.com/chromium/src/+/16f5c5b2155faa46890e2c5ad18b... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/16f5c5b2155faa46890e2c5ad18b...
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2801023002/ by awdf@chromium.org. The reason for reverting is: Reverting due to compile failure on Android builders: ../../third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp:11:17: error: prototype for 'const blink::CSSValue* blink::CSSPropertyAPICounterIncrement::parseSingleValue(blink::CSSParserTokenRange&, const blink::CSSParserContext*)' does not match any in class 'blink::CSSPropertyAPICounterIncrement' const CSSValue* CSSPropertyAPICounterIncrement::parseSingleValue( ^.
Message was sent while issue was closed.
On 2017/04/06 07:32:07, awdf wrote: > A revert of this CL (patchset #4 id:60001) has been created in > https://codereview.chromium.org/2801023002/ by mailto:awdf@chromium.org. > > The reason for reverting is: Reverting due to compile failure on Android > builders: > > ../../third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp:11:17: > error: prototype for 'const blink::CSSValue* > blink::CSSPropertyAPICounterIncrement::parseSingleValue(blink::CSSParserTokenRange&, > const blink::CSSParserContext*)' does not match any in class > 'blink::CSSPropertyAPICounterIncrement' > const CSSValue* CSSPropertyAPICounterIncrement::parseSingleValue( > ^. Apologies, this may have been the wrong culprit. There was an autorevert of another commit that seems to have got things green again. See https://bugs.chromium.org/p/chromium/issues/detail?id=708924
The CQ bit was checked by bugsnash@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by bugsnash@chromium.org
The CQ bit was checked by bugsnash@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from meade@chromium.org, ericwilligers@chromium.org Link to the patchset: https://codereview.chromium.org/2783543002/#ps80001 (title: "Changed CSSParserContext pointer to reference for compatibility with previous patch")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 80001, "attempt_start_ts": 1491526386940790, "parent_rev": "7d902cae26ca61216e311a819855828a4c94bd1b", "commit_rev": "a61ff59e5d2030e2aaf4db89d8bb6767c410eb6d"}
Message was sent while issue was closed.
Description was changed from ========== Implemented parseSingleValue in CSSPropertyAPICounterIncrement. Part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch - added parseSingleValue method to the CSSPropertyAPICounterIncrement API, with parsing logic from CSSPropertyParser - removed CSSPropertyCounterIncrement from the switch statement in CSSPropertyParser::parseSingleValue, calling the API instead using a CSSPropertyDescriptor - added parseSingleValue to counter-increment in CSSProperties.json5 so it will be added to the generated files for the api Diff in generated CSSPropertyAPICounterIncrement.h: https://gist.github.com/BugsNash/ac16598cbe0677824308a64a52e33213/revisions Diff in generated CSSPropertyDescriptor.cpp: https://gist.github.com/BugsNash/7156559ba47f4ac929951959fe19cb93/revisions BUG=668012 Review-Url: https://codereview.chromium.org/2783543002 Cr-Commit-Position: refs/heads/master@{#462379} Committed: https://chromium.googlesource.com/chromium/src/+/16f5c5b2155faa46890e2c5ad18b... ========== to ========== Implemented parseSingleValue in CSSPropertyAPICounterIncrement. Part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch - added parseSingleValue method to the CSSPropertyAPICounterIncrement API, with parsing logic from CSSPropertyParser - removed CSSPropertyCounterIncrement from the switch statement in CSSPropertyParser::parseSingleValue, calling the API instead using a CSSPropertyDescriptor - added parseSingleValue to counter-increment in CSSProperties.json5 so it will be added to the generated files for the api Diff in generated CSSPropertyAPICounterIncrement.h: https://gist.github.com/BugsNash/ac16598cbe0677824308a64a52e33213/revisions Diff in generated CSSPropertyDescriptor.cpp: https://gist.github.com/BugsNash/7156559ba47f4ac929951959fe19cb93/revisions BUG=668012 Review-Url: https://codereview.chromium.org/2783543002 Cr-Original-Commit-Position: refs/heads/master@{#462379} Committed: https://chromium.googlesource.com/chromium/src/+/16f5c5b2155faa46890e2c5ad18b... Review-Url: https://codereview.chromium.org/2783543002 Cr-Commit-Position: refs/heads/master@{#462789} Committed: https://chromium.googlesource.com/chromium/src/+/a61ff59e5d2030e2aaf4db89d8bb... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/a61ff59e5d2030e2aaf4db89d8bb... |