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

Issue 8351063: PrintPreview: [LINUX] Update the margin values after flipping the paper orientation. (Closed)

Created:
9 years, 1 month ago by kmadhusu
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

PrintPreview: [LINUX] Update the margin values after flipping the paper orientation. BUG=101419 TEST=Please refer to bug description. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108598

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 10

Patch Set 4 : Addressed review comments. #

Patch Set 5 : '' #

Total comments: 16

Patch Set 6 : Addressed review comments + fixed ordering in print_settings.cc #

Patch Set 7 : '' #

Total comments: 6

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -10 lines) Patch
M printing/page_setup.h View 1 2 3 4 5 6 7 3 chunks +10 lines, -0 lines 0 comments Download
M printing/page_setup.cc View 1 2 3 4 5 6 7 4 chunks +26 lines, -7 lines 0 comments Download
M printing/page_setup_unittest.cc View 1 2 3 4 5 1 chunk +84 lines, -0 lines 0 comments Download
M printing/print_settings.cc View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
kmadhusu
9 years, 1 month ago (2011-11-02 01:26:28 UTC) #1
vandebo (ex-Chrome)
Instead of doing this at this let, lets save which kind of margins are used ...
9 years, 1 month ago (2011-11-02 01:35:37 UTC) #2
vandebo (ex-Chrome)
And we should add a test too.
9 years, 1 month ago (2011-11-02 16:13:06 UTC) #3
kmadhusu
9 years, 1 month ago (2011-11-02 20:04:01 UTC) #4
vandebo (ex-Chrome)
http://codereview.chromium.org/8351063/diff/3005/printing/page_setup.cc File printing/page_setup.cc (right): http://codereview.chromium.org/8351063/diff/3005/printing/page_setup.cc#newcode123 printing/page_setup.cc:123: if (has_forced_margins_value) With the addition of has_forced_margins_value, I think ...
9 years, 1 month ago (2011-11-02 20:26:03 UTC) #5
vandebo (ex-Chrome)
Update the issue description? Is this really Linux specific?
9 years, 1 month ago (2011-11-02 20:29:17 UTC) #6
kmadhusu
As we discussed this is LINUX specific. I am leaving the description as it is. ...
9 years, 1 month ago (2011-11-02 23:15:03 UTC) #7
vandebo (ex-Chrome)
http://codereview.chromium.org/8351063/diff/6002/printing/page_setup.cc File printing/page_setup.cc (right): http://codereview.chromium.org/8351063/diff/6002/printing/page_setup.cc#newcode62 printing/page_setup.cc:62: text_height_ = 0; clear should probably reset forced_margins_ http://codereview.chromium.org/8351063/diff/6002/printing/page_setup.cc#newcode89 ...
9 years, 1 month ago (2011-11-03 17:26:35 UTC) #8
kmadhusu
http://codereview.chromium.org/8351063/diff/6002/printing/page_setup.cc File printing/page_setup.cc (right): http://codereview.chromium.org/8351063/diff/6002/printing/page_setup.cc#newcode62 printing/page_setup.cc:62: text_height_ = 0; On 2011/11/03 17:26:35, vandebo wrote: > ...
9 years, 1 month ago (2011-11-03 20:46:54 UTC) #9
vandebo (ex-Chrome)
LGTM http://codereview.chromium.org/8351063/diff/10003/printing/page_setup.cc File printing/page_setup.cc (right): http://codereview.chromium.org/8351063/diff/10003/printing/page_setup.cc#newcode48 printing/page_setup.cc:48: PageSetup::PageSetup() : forced_margins_(false) { nit: not needed because ...
9 years, 1 month ago (2011-11-03 21:12:57 UTC) #10
kmadhusu
http://codereview.chromium.org/8351063/diff/10003/printing/page_setup.cc File printing/page_setup.cc (right): http://codereview.chromium.org/8351063/diff/10003/printing/page_setup.cc#newcode48 printing/page_setup.cc:48: PageSetup::PageSetup() : forced_margins_(false) { On 2011/11/03 21:12:57, vandebo wrote: ...
9 years, 1 month ago (2011-11-03 22:37:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/8351063/9007
9 years, 1 month ago (2011-11-03 22:38:05 UTC) #12
commit-bot: I haz the power
9 years, 1 month ago (2011-11-04 00:29:23 UTC) #13
Change committed as 108598

Powered by Google App Engine
This is Rietveld 408576698