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

Issue 939443002: Fixed guestview sizing bug that resulted in incorrect <webview> sizing on the signin page. (Closed)

Created:
5 years, 10 months ago by paulmeyer
Modified:
5 years, 10 months ago
Reviewers:
Fady Samuel
CC:
chromium-reviews, chromium-apps-reviews_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

Fixed guestview sizing bug that resulted in incorrect <webview> sizing on the signin page. The problem was that when the guestview (in this case, a webview) was initially sized, this size was incorrectly specified in logical pixels rather than physical pixels. When zoom is at 100%, these pixels are the same, but when zoomed, they are not. This resulted in the webview being too small when zoomed in and too large when zoomed out. The fix involved converting the logical pixels to physical pixels (based on the page's zoom factor) for the guestview's initial sizing. BUG=453221 Committed: https://crrev.com/1451fda11e2e0615d38505f0588a59856bb8be51 Cr-Commit-Position: refs/heads/master@{#316820}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -6 lines) Patch
M extensions/browser/guest_view/guest_view_base.h View 1 1 chunk +17 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.cc View 1 2 chunks +33 lines, -4 lines 0 comments Download
M extensions/renderer/resources/guest_view/guest_view_container.js View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
paulmeyer
+fsamuel@
5 years, 10 months ago (2015-02-17 21:46:37 UTC) #2
Fady Samuel
lgtm + nits https://codereview.chromium.org/939443002/diff/1/extensions/browser/guest_view/guest_view_base.cc File extensions/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/939443002/diff/1/extensions/browser/guest_view/guest_view_base.cc#newcode722 extensions/browser/guest_view/guest_view_base.cc:722: return 1; nit: return 1.0; https://codereview.chromium.org/939443002/diff/1/extensions/browser/guest_view/guest_view_base.cc#newcode727 ...
5 years, 10 months ago (2015-02-17 21:53:51 UTC) #3
paulmeyer
https://codereview.chromium.org/939443002/diff/1/extensions/browser/guest_view/guest_view_base.cc File extensions/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/939443002/diff/1/extensions/browser/guest_view/guest_view_base.cc#newcode722 extensions/browser/guest_view/guest_view_base.cc:722: return 1; On 2015/02/17 21:53:50, Fady Samuel wrote: > ...
5 years, 10 months ago (2015-02-18 13:37:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/939443002/20001
5 years, 10 months ago (2015-02-18 13:38:40 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-18 14:30:43 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-18 14:31:20 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1451fda11e2e0615d38505f0588a59856bb8be51
Cr-Commit-Position: refs/heads/master@{#316820}

Powered by Google App Engine
This is Rietveld 408576698