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

Issue 2708213003: Fix fit to page scaling display for landscape (Closed)

Created:
3 years, 10 months ago by rbpotter
Modified:
3 years, 10 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix fit to page scaling display for landscape Found there is a bug in the scaling value displayed when "Fit to Page" is checked for landscape oriented documents due to the difference in orientation between printable area and the document. Correct for orientation in the fit to page scaling computation so that the correct value will be displayed in the UI. BUG=695636 Review-Url: https://codereview.chromium.org/2708213003 Cr-Commit-Position: refs/heads/master@{#452685} Committed: https://chromium.googlesource.com/chromium/src/+/83f9a7b7a698e9cb7b6e03c2ad567ab5d1435d93

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simplify rotate check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M components/printing/renderer/print_web_view_helper.cc View 1 1 chunk +13 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
rbpotter
3 years, 10 months ago (2017-02-22 01:25:00 UTC) #8
Lei Zhang
https://codereview.chromium.org/2708213003/diff/1/components/printing/renderer/print_web_view_helper.cc File components/printing/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/2708213003/diff/1/components/printing/renderer/print_web_view_helper.cc#newcode1264 components/printing/renderer/print_web_view_helper.cc:1264: bool rotate = ((printable_area_in_points.width() > Please double check and ...
3 years, 10 months ago (2017-02-23 01:32:38 UTC) #12
rbpotter
https://codereview.chromium.org/2708213003/diff/1/components/printing/renderer/print_web_view_helper.cc File components/printing/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/2708213003/diff/1/components/printing/renderer/print_web_view_helper.cc#newcode1264 components/printing/renderer/print_web_view_helper.cc:1264: bool rotate = ((printable_area_in_points.width() > On 2017/02/23 01:32:38, Lei ...
3 years, 10 months ago (2017-02-23 22:26:54 UTC) #16
Lei Zhang
lgtm
3 years, 10 months ago (2017-02-23 22:32:39 UTC) #17
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/2708213003/20001
3 years, 10 months ago (2017-02-24 00:08:09 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 00:14:14 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/83f9a7b7a698e9cb7b6e03c2ad56...

Powered by Google App Engine
This is Rietveld 408576698