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

Issue 2333283004: [CUPS] Implement the UI handler for adding a new printer. (Closed)

Created:
4 years, 3 months ago by xdai1
Modified:
4 years, 3 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CUPS] Implement the UI handler for adding a new printer. BUG=626752 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b6869005595fb70b69ad29df2c8f3fd563c2feff Cr-Commit-Position: refs/heads/master@{#420464}

Patch Set 1 #

Patch Set 2 : Use the updated mocks. #

Patch Set 3 : Fix the failed trybot #

Patch Set 4 : Rebase. Nits fix. #

Total comments: 19

Patch Set 5 : Rebase. #

Patch Set 6 : Address michaelpg@'s comments. #

Total comments: 2

Patch Set 7 : Address michealpg@'s comments #

Patch Set 8 : Address michaelpg@'s offline comment. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -49 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/compiled_resources2.gyp View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html View 1 2 3 4 4 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js View 1 2 3 4 5 6 7 chunks +77 lines, -41 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers.html View 1 2 3 4 5 6 7 2 chunks +24 lines, -0 lines 1 comment Download
M chrome/browser/resources/settings/printing_page/cups_printers.js View 1 2 3 2 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js View 1 2 3 4 5 2 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers_list.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc View 1 2 3 4 5 5 chunks +84 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
xdai1
michaelpg@, could you help review this CL please? Thanks!
4 years, 3 months ago (2016-09-16 23:39:50 UTC) #10
xdai1
On 2016/09/16 23:39:50, xdai1 wrote: > michaelpg@, could you help review this CL please? Thanks! ...
4 years, 3 months ago (2016-09-20 00:27:30 UTC) #15
michaelpg
https://codereview.chromium.org/2333283004/diff/140001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2333283004/diff/140001/chrome/app/settings_strings.grdp#newcode834 chrome/app/settings_strings.grdp:834: <message name="IDS_SETTINGS_PRINTING_CUPS_PRINTER_ADDED_PRINTER_MESSAGE" desc="The message shown when a new printer ...
4 years, 3 months ago (2016-09-20 20:58:42 UTC) #16
xdai1
michaelpg@, I've addressed your comments. Please take another look, thanks! https://codereview.chromium.org/2333283004/diff/140001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2333283004/diff/140001/chrome/app/settings_strings.grdp#newcode834 ...
4 years, 3 months ago (2016-09-21 17:40:20 UTC) #17
michaelpg
https://codereview.chromium.org/2333283004/diff/140001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js File chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js (right): https://codereview.chromium.org/2333283004/diff/140001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js#newcode266 chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js:266: this.resetPrinterData_(this.selectedPrinter); On 2016/09/21 17:40:19, xdai1 wrote: > On 2016/09/20 ...
4 years, 3 months ago (2016-09-21 19:13:23 UTC) #18
xdai1
michealpg@, I've addressed your comments. Please take another look. thanks! https://codereview.chromium.org/2333283004/diff/140001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js File chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js (right): https://codereview.chromium.org/2333283004/diff/140001/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js#newcode266 ...
4 years, 3 months ago (2016-09-21 23:16:16 UTC) #19
xdai1
michaelpg@, please take another look, thanks! https://codereview.chromium.org/2333283004/diff/220001/chrome/browser/resources/settings/printing_page/cups_printers.html File chrome/browser/resources/settings/printing_page/cups_printers.html (right): https://codereview.chromium.org/2333283004/diff/220001/chrome/browser/resources/settings/printing_page/cups_printers.html#newcode51 chrome/browser/resources/settings/printing_page/cups_printers.html:51: <div id="message"> Modified ...
4 years, 3 months ago (2016-09-22 18:22:11 UTC) #20
michaelpg
lgtm
4 years, 3 months ago (2016-09-22 20:10:38 UTC) #21
xdai1
On 2016/09/22 20:10:38, michaelpg wrote: > lgtm Thanks for the review!
4 years, 3 months ago (2016-09-22 20:17:47 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/2333283004/220001
4 years, 3 months ago (2016-09-22 20:18:34 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:220001)
4 years, 3 months ago (2016-09-22 21:30:48 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 21:33:21 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b6869005595fb70b69ad29df2c8f3fd563c2feff
Cr-Commit-Position: refs/heads/master@{#420464}

Powered by Google App Engine
This is Rietveld 408576698