|
|
DescriptionEnable print as image by default
Enable the print as image flag by default so that print as image is
available by default on Linux/ChromeOS.
BUG=675798
Review-Url: https://codereview.chromium.org/2889883002
Cr-Commit-Position: refs/heads/master@{#473295}
Committed: https://chromium.googlesource.com/chromium/src/+/c51ee3623f7ebea04867980986d1e7226d5fefb0
Patch Set 1 #Patch Set 2 : Enable print as image by default #
Total comments: 2
Patch Set 3 : add flags for win and mac #
Total comments: 2
Patch Set 4 : Fix mac and win compile errors #Patch Set 5 : Fix JS style guide issue #
Messages
Total messages: 42 (26 generated)
The CQ bit was checked by rbpotter@chromium.org to run a CQ dry run
Description was changed from ========== Enable print as image by default Enable the print as image flag by default so that print as image is available by default on Linux/ChromeOS. BUG=675798 ========== to ========== Enable print as image by default Enable the print as image flag by default so that print as image is available by default on Linux/ChromeOS. BUG=675798 ==========
rbpotter@chromium.org changed reviewers: + dpapad@chromium.org, thestig@chromium.org
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
https://codereview.chromium.org/2889883002/diff/20001/chrome/common/chrome_fe... File chrome/common/chrome_features.cc (right): https://codereview.chromium.org/2889883002/diff/20001/chrome/common/chrome_fe... chrome/common/chrome_features.cc:284: base::FEATURE_ENABLED_BY_DEFAULT}; Isn't this enabling by default the feature on all platforms, not just ChromeOS and Linux? Just checking whether this is intentional, since the CL description only mentions ChromeOS and Linux.
The CQ bit was checked by rbpotter@chromium.org to run a CQ dry run
https://codereview.chromium.org/2889883002/diff/20001/chrome/common/chrome_fe... File chrome/common/chrome_features.cc (right): https://codereview.chromium.org/2889883002/diff/20001/chrome/common/chrome_fe... chrome/common/chrome_features.cc:284: base::FEATURE_ENABLED_BY_DEFAULT}; On 2017/05/17 16:35:58, dpapad wrote: > Isn't this enabling by default the feature on all platforms, not just ChromeOS > and Linux? Just checking whether this is intentional, since the CL description > only mentions ChromeOS and Linux. Good catch, thanks. Thought I had if defs around this to remove it for Mac and Win, but apparently not. Added them in new patchset.
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_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
https://codereview.chromium.org/2889883002/diff/40001/chrome/common/chrome_fe... File chrome/common/chrome_features.cc (right): https://codereview.chromium.org/2889883002/diff/40001/chrome/common/chrome_fe... chrome/common/chrome_features.cc:287: #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OS_WIN) && !defined(OS_MACOSX) Probably need something as follows to fix compilation errors on Mac and Win. #if BUILDFLAG(ENABLE_PRINT_PREVIEW) # if defined(OS_WIN) || defined(OS_MACOSX) const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", FEATURE_DISABLED_BY_DEFAULT}; #else const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", FEATURE_ENABLED_BY_DEFAULT}; #endif #endif
The CQ bit was checked by rbpotter@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...
https://codereview.chromium.org/2889883002/diff/40001/chrome/common/chrome_fe... File chrome/common/chrome_features.cc (right): https://codereview.chromium.org/2889883002/diff/40001/chrome/common/chrome_fe... chrome/common/chrome_features.cc:287: #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OS_WIN) && !defined(OS_MACOSX) On 2017/05/17 17:32:37, dpapad wrote: > Probably need something as follows to fix compilation errors on Mac and Win. > > #if BUILDFLAG(ENABLE_PRINT_PREVIEW) > > # if defined(OS_WIN) || defined(OS_MACOSX) > const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", > FEATURE_DISABLED_BY_DEFAULT}; > #else > const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", > FEATURE_ENABLED_BY_DEFAULT}; > #endif > > #endif I think it would be better if this feature just isn't defined for Mac and Win at all, since the intent is for it not to exist on those platforms. Have updated the other files where this was referenced to reflect that.
looks better to me.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
LGTM
The CQ bit was checked by rbpotter@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from thestig@chromium.org Link to the patchset: https://codereview.chromium.org/2889883002/#ps60001 (title: "Fix mac and win compile errors")
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
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...)
Patchset #5 (id:80001) has been deleted
The CQ bit was checked by rbpotter@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from thestig@chromium.org, dpapad@chromium.org Link to the patchset: https://codereview.chromium.org/2889883002/#ps100001 (title: "Fix JS style guide issue")
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
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by rbpotter@chromium.org
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
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by rbpotter@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": 100001, "attempt_start_ts": 1495216462149380, "parent_rev": "f7f0f1c1aae1bfc819afddb0024d14af0d3c8ff4", "commit_rev": "c51ee3623f7ebea04867980986d1e7226d5fefb0"}
Message was sent while issue was closed.
Description was changed from ========== Enable print as image by default Enable the print as image flag by default so that print as image is available by default on Linux/ChromeOS. BUG=675798 ========== to ========== Enable print as image by default Enable the print as image flag by default so that print as image is available by default on Linux/ChromeOS. BUG=675798 Review-Url: https://codereview.chromium.org/2889883002 Cr-Commit-Position: refs/heads/master@{#473295} Committed: https://chromium.googlesource.com/chromium/src/+/c51ee3623f7ebea04867980986d1... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as https://chromium.googlesource.com/chromium/src/+/c51ee3623f7ebea04867980986d1... |