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

Issue 5574003: Print preview: Display a message when the PDF viewer is missing.... (Closed)

Created:
10 years ago by Lei Zhang
Modified:
9 years, 7 months ago
Reviewers:
James Hawkins
CC:
chromium-reviews, arv (Not doing code reviews), ben+cc_chromium.org
Visibility:
Public.

Description

Print preview: Display a message when the PDF viewer is missing. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68380

Patch Set 1 #

Total comments: 10

Patch Set 2 : address comments #

Total comments: 1

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M chrome/app/generated_resources.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/print_preview_ui.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/print_preview.js View 1 2 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Lei Zhang
http://codereview.chromium.org/5574003/diff/1/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/5574003/diff/1/chrome/browser/resources/print_preview.js#newcode52 chrome/browser/resources/print_preview.js:52: $('pdf-viewer').reload(); Typo in previous CL. http://codereview.chromium.org/5574003/diff/1/chrome/browser/resources/print_preview.js#newcode60 chrome/browser/resources/print_preview.js:60: var pdfPlugin ...
10 years ago (2010-12-06 08:31:55 UTC) #1
James Hawkins
http://codereview.chromium.org/5574003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/5574003/diff/1/chrome/app/generated_resources.grd#newcode5496 chrome/app/generated_resources.grd:5496: PDF viewer not available. Is this string from the ...
10 years ago (2010-12-06 18:23:36 UTC) #2
Lei Zhang
http://codereview.chromium.org/5574003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/5574003/diff/1/chrome/app/generated_resources.grd#newcode5496 chrome/app/generated_resources.grd:5496: PDF viewer not available. On 2010/12/06 18:23:36, James Hawkins ...
10 years ago (2010-12-06 20:47:14 UTC) #3
James Hawkins
10 years ago (2010-12-06 20:50:53 UTC) #4
LGTM

http://codereview.chromium.org/5574003/diff/1/chrome/app/generated_resources.grd
File chrome/app/generated_resources.grd (right):

http://codereview.chromium.org/5574003/diff/1/chrome/app/generated_resources....
chrome/app/generated_resources.grd:5496: PDF viewer not available.
On 2010/12/06 20:47:14, Lei Zhang wrote:
> On 2010/12/06 18:23:36, James Hawkins wrote:
> > Is this string from the mocks?
> 
> No, but we should deal with the case for users without the plugin.

I'm fine with it for now, but I think we should ask UX for a better string (or
add an 'is' in there).

http://codereview.chromium.org/5574003/diff/6001/chrome/browser/resources/pri...
File chrome/browser/resources/print_preview.html (right):

http://codereview.chromium.org/5574003/diff/6001/chrome/browser/resources/pri...
chrome/browser/resources/print_preview.html:79: <p class="hidden" id="no-plugin"
i18n-content="noPlugin"></p>
id before class.

Powered by Google App Engine
This is Rietveld 408576698