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

Issue 979303002: Update UI for extension destinations in print preview destination list (Closed)

Created:
5 years, 9 months ago by tbarzic
Modified:
5 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update UI for extension destinations in print preview destination list Adds the extension name and icon to destination list item for extension destinations. The icon is clickable and links to chrome://extension?id=<extension-id>. For selected extension destination use the extension name as hint (instead of description) Also, bring back comment for PrinterProviderAPI::DispatchGetPrintersRequested (which got deleted by mistake) BUG=454596 Committed: https://crrev.com/599ffa1d8087230b83f5b097cba7a06fc6963f77 Cr-Commit-Position: refs/heads/master@{#319422}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : fix tests #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 9

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -10 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/data/app_state.js View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/data/destination.js View 1 2 3 4 5 6 chunks +17 lines, -5 lines 0 comments Download
M chrome/browser/resources/print_preview/data/destination_store.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/data/local_parsers.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/native_layer.js View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.css View 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.html View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.js View 1 2 3 4 5 2 chunks +54 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_ui.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/api/printer_provider/printer_provider_api.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M extensions/browser/api/printer_provider/printer_provider_api.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/printer_provider/printer_provider_apitest.cc View 1 2 3 4 5 11 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
tbarzic
screenshot: https://drive.google.com/a/google.com/file/d/0B4oTsS_XgGwFaVJqX3FWekFHeDQ/view?usp=sharing https://codereview.chromium.org/979303002/diff/80001/chrome/browser/resources/print_preview/data/local_parsers.js File chrome/browser/resources/print_preview/data/local_parsers.js (left): https://codereview.chromium.org/979303002/diff/80001/chrome/browser/resources/print_preview/data/local_parsers.js#oldcode85 chrome/browser/resources/print_preview/data/local_parsers.js:85: {description: destinationInfo.description || '', with extension name ...
5 years, 9 months ago (2015-03-05 23:50:59 UTC) #2
Aleksey Shlyapnikov
https://codereview.chromium.org/979303002/diff/80001/chrome/browser/resources/print_preview/data/destination.js File chrome/browser/resources/print_preview/data/destination.js (right): https://codereview.chromium.org/979303002/diff/80001/chrome/browser/resources/print_preview/data/destination.js#newcode478 chrome/browser/resources/print_preview/data/destination.js:478: }, If it's not part of the generic iconUrl ...
5 years, 9 months ago (2015-03-06 00:27:39 UTC) #3
tbarzic
https://codereview.chromium.org/979303002/diff/80001/chrome/browser/resources/print_preview/data/destination.js File chrome/browser/resources/print_preview/data/destination.js (right): https://codereview.chromium.org/979303002/diff/80001/chrome/browser/resources/print_preview/data/destination.js#newcode478 chrome/browser/resources/print_preview/data/destination.js:478: }, On 2015/03/06 00:27:39, Aleksey Shlyapnikov wrote: > If ...
5 years, 9 months ago (2015-03-06 03:16:12 UTC) #4
Aleksey Shlyapnikov
lgtm
5 years, 9 months ago (2015-03-06 03:54:30 UTC) #5
Vitaly Buka (NO REVIEWS)
lgtm
5 years, 9 months ago (2015-03-06 07:16:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/979303002/100001
5 years, 9 months ago (2015-03-06 07:17:37 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-06 07:59:53 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-06 08:00:26 UTC) #10
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/599ffa1d8087230b83f5b097cba7a06fc6963f77
Cr-Commit-Position: refs/heads/master@{#319422}

Powered by Google App Engine
This is Rietveld 408576698