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

Issue 2760753002: [CUPS] Implement the local CUPS printer setup waiting UI. (Closed)

Created:
3 years, 9 months ago by xdai1
Modified:
3 years, 8 months ago
Reviewers:
Lei Zhang, skau, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, srahim+watch_chromium.org, weifangsun
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[CUPS] Implement the local CUPS printer setup waiting UI. BUG=677567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2760753002 Cr-Commit-Position: refs/heads/master@{#461310} Committed: https://chromium.googlesource.com/chromium/src/+/89ca6553d7d8d0303bfef17d17c20e0814b9ede2

Patch Set 1 : . #

Total comments: 1

Patch Set 2 : Address the offline comments from weifangsun@ and skau@. #

Total comments: 4

Patch Set 3 : Address skau@'s comment. Rebase #

Total comments: 19

Patch Set 4 : Address dpapad@ and thestig@'s comments. #

Total comments: 2

Patch Set 5 : Address thestig@'s comment. #

Total comments: 2

Patch Set 6 : nit fix. #

Total comments: 12

Patch Set 7 : Fix compile error. #

Patch Set 8 : Address dpapad@'s comments. #

Total comments: 4

Patch Set 9 : Address dpapad@'s comments. Fix failed test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -221 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/data/destination_store.js View 2 chunks +2 lines, -21 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.html View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/resources/print_preview/search/cros_destination_resolver.html View 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/browser/resources/print_preview/search/cros_destination_resolver.js View 1 chunk +0 lines, -142 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list.js View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.css View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.html View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.js View 1 2 3 4 5 6 7 8 4 chunks +86 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_search.js View 1 2 3 4 5 6 7 8 4 chunks +73 lines, -36 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_ui.cc View 1 2 3 4 5 6 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 51 (28 generated)
xdai1
skau@, could you take a look at this CL to see this approach looks good ...
3 years, 9 months ago (2017-03-18 00:42:13 UTC) #3
xdai1
...And if it looks good, I will go ahead and modify the test.
3 years, 9 months ago (2017-03-18 00:42:39 UTC) #4
skau
I'm taking a look now. How does this handle clicking on multiple items in the ...
3 years, 9 months ago (2017-03-20 18:42:23 UTC) #7
xdai1
On 2017/03/20 18:42:23, skau wrote: > I'm taking a look now. How does this handle ...
3 years, 9 months ago (2017-03-20 19:10:51 UTC) #8
skau
Separate from the desired UX, you should ensure that we only call onDestinationResolved_ for the ...
3 years, 9 months ago (2017-03-20 22:16:02 UTC) #9
chromium-reviews
Hi all, Just to clarify - By "do nothing", I would prefer the behavior in ...
3 years, 9 months ago (2017-03-20 23:18:23 UTC) #10
xdai1
skau@, sorry for the late reply. I was distracted by other issues. Please take another ...
3 years, 8 months ago (2017-03-28 21:39:11 UTC) #11
skau
Can you verify that we preserve the original behavior if we're not in ChromeOS? https://codereview.chromium.org/2760753002/diff/40001/chrome/browser/resources/print_preview/search/destination_list_item.js ...
3 years, 8 months ago (2017-03-29 20:17:11 UTC) #12
xdai1
skau@, please take another look, thanks for your review! https://codereview.chromium.org/2760753002/diff/40001/chrome/browser/resources/print_preview/search/destination_list_item.js File chrome/browser/resources/print_preview/search/destination_list_item.js (right): https://codereview.chromium.org/2760753002/diff/40001/chrome/browser/resources/print_preview/search/destination_list_item.js#newcode255 chrome/browser/resources/print_preview/search/destination_list_item.js:255: ...
3 years, 8 months ago (2017-03-30 17:48:19 UTC) #13
skau
lgtm You'll need thestig@ for OWNERs approval.
3 years, 8 months ago (2017-03-30 18:34:29 UTC) #15
Lei Zhang
+dpapad for print preview CSS/JS. It looks like the new strings are included on non-ChromeOS ...
3 years, 8 months ago (2017-03-30 19:06:42 UTC) #19
dpapad
https://codereview.chromium.org/2760753002/diff/60001/chrome/browser/resources/print_preview/search/cros_destination_resolver.html File chrome/browser/resources/print_preview/search/cros_destination_resolver.html (left): https://codereview.chromium.org/2760753002/diff/60001/chrome/browser/resources/print_preview/search/cros_destination_resolver.html#oldcode6 chrome/browser/resources/print_preview/search/cros_destination_resolver.html:6: $i18n{resolveCrosPrinterMessage} Is this string used anywhere else? Can we ...
3 years, 8 months ago (2017-03-30 20:56:24 UTC) #20
xdai1
dpapad@, thetig@, I've addressed your comments. Please take another look, thanks for the review! https://codereview.chromium.org/2760753002/diff/60001/chrome/browser/resources/print_preview/search/cros_destination_resolver.html ...
3 years, 8 months ago (2017-03-30 23:18:44 UTC) #23
Lei Zhang
https://codereview.chromium.org/2760753002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc File chrome/browser/ui/webui/print_preview/print_preview_ui.cc (right): https://codereview.chromium.org/2760753002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc#newcode239 chrome/browser/ui/webui/print_preview/print_preview_ui.cc:239: #if !defined(OS_CHROMEOS) Add the new strings here and change ...
3 years, 8 months ago (2017-03-30 23:26:02 UTC) #26
xdai1
Comments are addressed. Please take another look, thanks! https://codereview.chromium.org/2760753002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc File chrome/browser/ui/webui/print_preview/print_preview_ui.cc (right): https://codereview.chromium.org/2760753002/diff/80001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc#newcode239 chrome/browser/ui/webui/print_preview/print_preview_ui.cc:239: #if ...
3 years, 8 months ago (2017-03-30 23:33:21 UTC) #27
Lei Zhang
non CSS/HTML/JS bits lgtm https://codereview.chromium.org/2760753002/diff/100001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc File chrome/browser/ui/webui/print_preview/print_preview_ui.cc (right): https://codereview.chromium.org/2760753002/diff/100001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc#newcode238 chrome/browser/ui/webui/print_preview/print_preview_ui.cc:238: const base::string16 shortcut_text(base::UTF8ToUTF16(kBasicPrintShortcut)); Move this ...
3 years, 8 months ago (2017-03-30 23:37:57 UTC) #28
xdai1
Thanks for the review! https://codereview.chromium.org/2760753002/diff/100001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc File chrome/browser/ui/webui/print_preview/print_preview_ui.cc (right): https://codereview.chromium.org/2760753002/diff/100001/chrome/browser/ui/webui/print_preview/print_preview_ui.cc#newcode238 chrome/browser/ui/webui/print_preview/print_preview_ui.cc:238: const base::string16 shortcut_text(base::UTF8ToUTF16(kBasicPrintShortcut)); On 2017/03/30 ...
3 years, 8 months ago (2017-03-30 23:47:21 UTC) #29
dpapad
https://codereview.chromium.org/2760753002/diff/60001/chrome/browser/resources/print_preview/search/destination_search.js File chrome/browser/resources/print_preview/search/destination_search.js (right): https://codereview.chromium.org/2760753002/diff/60001/chrome/browser/resources/print_preview/search/destination_search.js#newcode627 chrome/browser/resources/print_preview/search/destination_search.js:627: * Called when the Promise is rejected. On 2017/03/30 ...
3 years, 8 months ago (2017-03-31 00:37:52 UTC) #34
xdai1
dpapad@, I've addressed your comments. Please take another look, thanks for your review. https://codereview.chromium.org/2760753002/diff/120001/chrome/browser/resources/print_preview/search/destination_list_item.js File ...
3 years, 8 months ago (2017-03-31 22:19:29 UTC) #37
dpapad
LGTM https://codereview.chromium.org/2760753002/diff/160001/chrome/browser/resources/print_preview/search/destination_list_item.html File chrome/browser/resources/print_preview/search/destination_list_item.html (right): https://codereview.chromium.org/2760753002/diff/160001/chrome/browser/resources/print_preview/search/destination_list_item.html#newcode18 chrome/browser/resources/print_preview/search/destination_list_item.html:18: <span>$i18n{configuringInProgressText}</span> Nit: Can <span>$i18n{configuringInProgressText}</span> be replaced with $i18n{configuringInProgressText} ...
3 years, 8 months ago (2017-03-31 23:14:01 UTC) #40
xdai1
Thanks all for the review! https://codereview.chromium.org/2760753002/diff/160001/chrome/browser/resources/print_preview/search/destination_list_item.html File chrome/browser/resources/print_preview/search/destination_list_item.html (right): https://codereview.chromium.org/2760753002/diff/160001/chrome/browser/resources/print_preview/search/destination_list_item.html#newcode18 chrome/browser/resources/print_preview/search/destination_list_item.html:18: <span>$i18n{configuringInProgressText}</span> On 2017/03/31 23:14:01, ...
3 years, 8 months ago (2017-04-01 00:10:49 UTC) #42
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/2760753002/180001
3 years, 8 months ago (2017-04-01 03:00:52 UTC) #48
commit-bot: I haz the power
3 years, 8 months ago (2017-04-01 03:06:28 UTC) #51
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/89ca6553d7d8d0303bfef17d17c2...

Powered by Google App Engine
This is Rietveld 408576698