Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Issue 2616783002: Remove Print As Image for Mac and Win (Closed)

Created:
3 years, 11 months ago by rbpotter
Modified:
3 years, 10 months ago
CC:
arv+watch_chromium.org, asvitkine+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove Print As Image for Mac and Win Decided we do not ever want to launch print pdf as image on Mac or Win. Modify tests and print preview UI so that the feature will never appear on these platforms even after the flag it is behind is removed. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2616783002 Cr-Commit-Position: refs/heads/master@{#443080} Committed: https://chromium.googlesource.com/chromium/src/+/c2a83f80ca89c9a6c5305816ea4212bad71a1eed

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix conditions #

Total comments: 4

Patch Set 3 : Fix last OS check #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -19 lines) Patch
M chrome/browser/about_flags.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/other_options_settings.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/webui/print_preview.js View 1 2 5 chunks +31 lines, -13 lines 1 comment Download
M testing/variations/fieldtrial_testing_config.json View 1 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 37 (28 generated)
dpapad
https://codereview.chromium.org/2616783002/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2616783002/diff/1/chrome/browser/about_flags.cc#newcode2109 chrome/browser/about_flags.cc:2109: #if defined(OS_CHROMEOS) || defined(OS_LINUX) Is this equivalent to !OS_MACOSX ...
3 years, 11 months ago (2017-01-05 21:43:03 UTC) #9
rbpotter
https://codereview.chromium.org/2616783002/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2616783002/diff/1/chrome/browser/about_flags.cc#newcode2109 chrome/browser/about_flags.cc:2109: #if defined(OS_CHROMEOS) || defined(OS_LINUX) On 2017/01/05 21:43:03, dpapad wrote: ...
3 years, 11 months ago (2017-01-06 01:26:48 UTC) #12
dpapad
https://codereview.chromium.org/2616783002/diff/20001/chrome/test/data/webui/print_preview.js File chrome/test/data/webui/print_preview.js (right): https://codereview.chromium.org/2616783002/diff/20001/chrome/test/data/webui/print_preview.js#newcode70 chrome/test/data/webui/print_preview.js:70: GEN('#if defined(OS_CHROMEOS) || defined(OS_LINUX)'); This needs to be changed ...
3 years, 11 months ago (2017-01-06 17:09:40 UTC) #15
rbpotter
https://codereview.chromium.org/2616783002/diff/20001/chrome/test/data/webui/print_preview.js File chrome/test/data/webui/print_preview.js (right): https://codereview.chromium.org/2616783002/diff/20001/chrome/test/data/webui/print_preview.js#newcode70 chrome/test/data/webui/print_preview.js:70: GEN('#if defined(OS_CHROMEOS) || defined(OS_LINUX)'); On 2017/01/06 17:09:40, dpapad wrote: ...
3 years, 11 months ago (2017-01-06 19:32:34 UTC) #17
Ilya Sherman
fieldtrial_testing_config.json lgtm
3 years, 11 months ago (2017-01-06 22:09:03 UTC) #21
dpapad
LGTM
3 years, 11 months ago (2017-01-11 19:25:01 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2616783002/40001
3 years, 11 months ago (2017-01-12 00:18:13 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/c2a83f80ca89c9a6c5305816ea4212bad71a1eed
3 years, 11 months ago (2017-01-12 00:28:51 UTC) #35
Lei Zhang
3 years, 10 months ago (2017-02-25 01:39:26 UTC) #37
Message was sent while issue was closed.
https://codereview.chromium.org/2616783002/diff/40001/chrome/test/data/webui/...
File chrome/test/data/webui/print_preview.js (right):

https://codereview.chromium.org/2616783002/diff/40001/chrome/test/data/webui/...
chrome/test/data/webui/print_preview.js:531: if (!cr.isWindows && !cr.isMac) {
Should we make a function so we don't have to write "!cr.isWindows && !cr.isMac"
multiple times?

Powered by Google App Engine
This is Rietveld 408576698