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

Issue 2436603002: Cloud Print: Add human readable names for standard media sizes. (Closed)

Created:
4 years, 2 months ago by Lei Zhang
Modified:
4 years, 2 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, paolof_google.com
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cloud Print: Add human readable names for standard media sizes. Also sort the media sizes in the same order as the Google Cloud Print website. BUG=653019 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/19e26d404c3aab3a3b33c3a360b02bbf825743ac Cr-Commit-Position: refs/heads/master@{#426311}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Correctly implement compareMediaNames #

Total comments: 9

Patch Set 3 : Address comments #

Total comments: 3

Patch Set 4 : Address comments x2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -27 lines) Patch
M chrome/browser/resources/print_preview/data/destination_store.js View 1 2 3 5 chunks +106 lines, -27 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
Lei Zhang
dpapad: PTAL. Let me know if I'm doing silly things in JS. paolof: FYI. Comments/suggestions ...
4 years, 2 months ago (2016-10-19 07:21:22 UTC) #4
dpapad
https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js File chrome/browser/resources/print_preview/data/destination_store.js (right): https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js#newcode373 chrome/browser/resources/print_preview/data/destination_store.js:373: * @param {string} a Media to compare. If |a|, ...
4 years, 2 months ago (2016-10-19 18:30:17 UTC) #9
dpapad
https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js File chrome/browser/resources/print_preview/data/destination_store.js (right): https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js#newcode381 chrome/browser/resources/print_preview/data/destination_store.js:381: if (nameA > nameB) Nit: This can be compressed ...
4 years, 2 months ago (2016-10-19 18:57:50 UTC) #10
Lei Zhang
https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js File chrome/browser/resources/print_preview/data/destination_store.js (right): https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js#newcode373 chrome/browser/resources/print_preview/data/destination_store.js:373: * @param {string} a Media to compare. On 2016/10/19 ...
4 years, 2 months ago (2016-10-19 18:59:28 UTC) #13
Lei Zhang
BTW, this is not exactly the same as the cloud print website. In some cases, ...
4 years, 2 months ago (2016-10-19 19:03:17 UTC) #14
dpapad
LGTM https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js File chrome/browser/resources/print_preview/data/destination_store.js (right): https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js#newcode381 chrome/browser/resources/print_preview/data/destination_store.js:381: if (nameA > nameB) On 2016/10/19 at 18:57:50, ...
4 years, 2 months ago (2016-10-19 19:12:31 UTC) #15
dpapad
https://codereview.chromium.org/2436603002/diff/40001/chrome/browser/resources/print_preview/data/destination_store.js File chrome/browser/resources/print_preview/data/destination_store.js (right): https://codereview.chromium.org/2436603002/diff/40001/chrome/browser/resources/print_preview/data/destination_store.js#newcode446 chrome/browser/resources/print_preview/data/destination_store.js:446: combined.push(...categoryStandardCN); On 2016/10/19 at 19:12:31, dpapad wrote: > Nit ...
4 years, 2 months ago (2016-10-19 19:15:30 UTC) #16
Lei Zhang
https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js File chrome/browser/resources/print_preview/data/destination_store.js (right): https://codereview.chromium.org/2436603002/diff/20001/chrome/browser/resources/print_preview/data/destination_store.js#newcode381 chrome/browser/resources/print_preview/data/destination_store.js:381: if (nameA > nameB) On 2016/10/19 18:57:50, dpapad wrote: ...
4 years, 2 months ago (2016-10-19 19:17:27 UTC) #17
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/2436603002/60001
4 years, 2 months ago (2016-10-19 21:26:39 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-19 22:40:38 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:12:24 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/19e26d404c3aab3a3b33c3a360b02bbf825743ac
Cr-Commit-Position: refs/heads/master@{#426311}

Powered by Google App Engine
This is Rietveld 408576698