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

Issue 7042034: Print Preview: Remembering last used printer. (Closed)

Created:
9 years, 6 months ago by dpapad
Modified:
9 years, 6 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Print Preview: Remembering last used printer. BUG=85081 TEST=Open print preview tab, print a doc. Reopen, the last used printer should be pre-selected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88399

Patch Set 1 #

Total comments: 1

Patch Set 2 : Cleaning up, adding comments #

Total comments: 1

Patch Set 3 : Handling case where no default printer exists #

Patch Set 4 : Removing log statements #

Total comments: 4

Patch Set 5 : Addressing comments #

Patch Set 6 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -35 lines) Patch
M chrome/browser/resources/print_preview.js View 1 2 4 chunks +11 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_handler.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_handler.cc View 1 2 3 4 7 chunks +24 lines, -17 lines 0 comments Download
M printing/backend/print_backend_cups.cc View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dpapad
I have tested only on Linux so far. http://codereview.chromium.org/7042034/diff/1/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7042034/diff/1/chrome/browser/resources/print_preview.js#newcode372 chrome/browser/resources/print_preview.js:372: function ...
9 years, 6 months ago (2011-06-07 01:07:44 UTC) #1
dpapad
On 2011/06/07 01:07:44, dpapad wrote: > I have tested only on Linux so far. > ...
9 years, 6 months ago (2011-06-07 02:11:20 UTC) #2
Lei Zhang
http://codereview.chromium.org/7042034/diff/10001/chrome/browser/ui/webui/print_preview_handler.h File chrome/browser/ui/webui/print_preview_handler.h (right): http://codereview.chromium.org/7042034/diff/10001/chrome/browser/ui/webui/print_preview_handler.h#newcode104 chrome/browser/ui/webui/print_preview_handler.h:104: static std::string last_used_printer_; I don't think you are allowed ...
9 years, 6 months ago (2011-06-08 00:41:59 UTC) #3
dpapad
http://codereview.chromium.org/7042034/diff/10001/chrome/browser/ui/webui/print_preview_handler.h File chrome/browser/ui/webui/print_preview_handler.h (right): http://codereview.chromium.org/7042034/diff/10001/chrome/browser/ui/webui/print_preview_handler.h#newcode104 chrome/browser/ui/webui/print_preview_handler.h:104: static std::string last_used_printer_; On 2011/06/08 00:41:59, Lei Zhang wrote: ...
9 years, 6 months ago (2011-06-08 16:33:56 UTC) #4
Lei Zhang
LGTM
9 years, 6 months ago (2011-06-08 20:04:18 UTC) #5
commit-bot: I haz the power
9 years, 6 months ago (2011-06-08 21:06:43 UTC) #6
Change committed as 88399

Powered by Google App Engine
This is Rietveld 408576698