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

Issue 567663002: Replace default page scale limits in PageScaleConstraintsSet. (Closed)

Created:
6 years, 3 months ago by bokan
Modified:
6 years, 3 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Replace default page scale limits in PageScaleConstraintsSet. This fixes crbug.com/411933 where overlay scrollbars in ChromeOS would show up on the new tab page even though they weren't needed. This was occurring because the page scale factor limits, though set in RenderViewImpl::Initialize, were ineffective until a layout occured since Blink's PageScaleConstraintsSet wouldn't have computed the final constraints. Thus, the limits used were Blink's default limits, set to hardcoded values in PageScaleConstraintsSet. This caused the scrollbar in the compositor to think the page was zoomed in and displayed the scrollbars. This patch replaces the uncomputed final constraints with "all 1" values for minimum, maximum and initial scale, rather than using the (Android-specific) defaults. BUG=411933 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181848

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M Source/web/PageScaleConstraintsSet.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
bokan
Alexandre, PTAL. I think we're going to want to merge this to M38 so this ...
6 years, 3 months ago (2014-09-11 16:47:19 UTC) #2
aelias_OOO_until_Jul13
On 2014/09/11 16:47:19, bokan wrote: > Alexandre, > > PTAL. I think we're going to ...
6 years, 3 months ago (2014-09-11 17:07:07 UTC) #3
bokan
On 2014/09/11 17:07:07, aelias wrote: > On 2014/09/11 16:47:19, bokan wrote: > > Alexandre, > ...
6 years, 3 months ago (2014-09-11 17:54:41 UTC) #4
aelias_OOO_until_Jul13
On 2014/09/11 17:54:41, bokan wrote: > On 2014/09/11 17:07:07, aelias wrote: > > On 2014/09/11 ...
6 years, 3 months ago (2014-09-11 18:35:05 UTC) #5
bokan
On 2014/09/11 18:35:05, aelias wrote: > On 2014/09/11 17:54:41, bokan wrote: > > On 2014/09/11 ...
6 years, 3 months ago (2014-09-11 19:00:50 UTC) #6
aelias_OOO_until_Jul13
lgtm modulo out-of-date patch description
6 years, 3 months ago (2014-09-11 19:28:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/567663002/40001
6 years, 3 months ago (2014-09-11 19:34:55 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 20:42:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 181848

Powered by Google App Engine
This is Rietveld 408576698