|
|
DescriptionImplements CSSPropertyAPI for the column-count property.
A part of Project Ribbon, separating the parsing logic for CSS
properties from the parser into an API. This patch removes
CSSPropertyColumnCount from the switch statement in parseSingleValue,
and calls the API instead.
A function pointer to the parseSingleValue function from the API for the
column-count property is stored in a CSSPropertyDescriptor, and is
called from CSSPropertyParser.
This patch:
- Adds CSSPropertyAPIColumnCount.cpp to the BUILD.gn file.
- Adds api_class flag to CSSProperties.in, which indicates that
CSSPropertyAPIColumnCount.h is generated.
- Moves the parsing logic for page from CSSPropertyParser.cpp to
CSSPropertyAPIColumnCount.cpp, which implements CSSPropertyAPI.h.
BUG=668012
Review-Url: https://codereview.chromium.org/2635983007
Cr-Commit-Position: refs/heads/master@{#447485}
Committed: https://chromium.googlesource.com/chromium/src/+/633e649172fbbad21a1492ad7a226f2c380b7d7a
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : rebase #Patch Set 4 : rebase #Patch Set 5 : rebase #Patch Set 6 : rebase #Patch Set 7 : added api_methods flag #Patch Set 8 : rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 42 (35 generated)
Description was changed from ========== Implements CSSPropertyAPI for the column-count property. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyColumnCount from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the column-count property is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIColumnCount.cpp to the BUILD.gn file. - Adds api_class flag to CSSProperties.in, which indicates that CSSPropertyAPIColumnCount.h is generated. - Moves the parsing logic for page from CSSPropertyParser.cpp to CSSPropertyAPIColumncount.cpp, which implements CSSPropertyAPI.h. BUG=668012 ========== to ========== Implements CSSPropertyAPI for the column-count property. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyColumnCount from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the column-count property is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIColumnCount.cpp to the BUILD.gn file. - Adds api_class flag to CSSProperties.in, which indicates that CSSPropertyAPIColumnCount.h is generated. - Moves the parsing logic for page from CSSPropertyParser.cpp to CSSPropertyAPIColumnCount.cpp, which implements CSSPropertyAPI.h. BUG=668012 ==========
aazzam@google.com changed reviewers: + alancutter@chromium.org
please take a look alan! :)
lgtm
aazzam@google.com changed reviewers: + sashab@chromium.org
sasha, ptal :)
Haha I read this and was like "there's a CSSPropertyColumnUtils?? How cool is that' and then saw your dependent patchset XD Hmm... Why have you put consumeColumnWidth and consumeColumnCount in the utils file? It seems only consumeColumnWidthOrCount is used elsewhere in CSSPropertyParser.cpp. Am I missing something? :)
lgtm
The CQ bit was checked by aazzam@google.com 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-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by aazzam@google.com 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.
The CQ bit was checked by aazzam@google.com 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: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by aazzam@google.com 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: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by aazzam@google.com 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.
The CQ bit was checked by aazzam@google.com 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 on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) 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 on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by aazzam@google.com 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.
The CQ bit was checked by aazzam@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from sashab@chromium.org, alancutter@chromium.org Link to the patchset: https://codereview.chromium.org/2635983007/#ps140001 (title: "rebase")
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": 140001, "attempt_start_ts": 1485946548845310, "parent_rev": "05eb316801c899b16b7ed77b628d1e2a498e26e3", "commit_rev": "633e649172fbbad21a1492ad7a226f2c380b7d7a"}
Message was sent while issue was closed.
Description was changed from ========== Implements CSSPropertyAPI for the column-count property. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyColumnCount from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the column-count property is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIColumnCount.cpp to the BUILD.gn file. - Adds api_class flag to CSSProperties.in, which indicates that CSSPropertyAPIColumnCount.h is generated. - Moves the parsing logic for page from CSSPropertyParser.cpp to CSSPropertyAPIColumnCount.cpp, which implements CSSPropertyAPI.h. BUG=668012 ========== to ========== Implements CSSPropertyAPI for the column-count property. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyColumnCount from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the column-count property is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIColumnCount.cpp to the BUILD.gn file. - Adds api_class flag to CSSProperties.in, which indicates that CSSPropertyAPIColumnCount.h is generated. - Moves the parsing logic for page from CSSPropertyParser.cpp to CSSPropertyAPIColumnCount.cpp, which implements CSSPropertyAPI.h. BUG=668012 Review-Url: https://codereview.chromium.org/2635983007 Cr-Commit-Position: refs/heads/master@{#447485} Committed: https://chromium.googlesource.com/chromium/src/+/633e649172fbbad21a1492ad7a22... ==========
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/633e649172fbbad21a1492ad7a22... |