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

Issue 344203003: Replace loadWithOverviewMode settings with calls to shrinksViewportContentToFit (Closed)

Created:
6 years, 6 months ago by kenneth.r.christiansen
Modified:
5 years, 2 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Replace loadWithOverviewMode settings with calls to shrinksViewportContentToFit After this has landed the Android setting should start calling setShrinksViewportContentToFit as well. R=mnaganov@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -17 lines) Patch
M Source/core/frame/Settings.in View 1 chunk +0 lines, -1 line 0 comments Download
M Source/web/PageScaleConstraintsSet.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/PageScaleConstraintsSet.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebSettingsImpl.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/web/WebViewImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 9 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
mnaganov (inactive)
LGTM, thanks!
6 years, 6 months ago (2014-06-23 08:25:30 UTC) #1
kenneth.christiansen
Can someone have a look at web/ ?
6 years, 6 months ago (2014-06-23 09:23:17 UTC) #2
jochen (gone - plz use gerrit)
lgtm
6 years, 6 months ago (2014-06-23 15:12:04 UTC) #3
inactive_dshwang_plz_cc_intel
The CQ bit was checked by dongseong.hwang@chromium.org
6 years, 6 months ago (2014-06-23 16:13:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/344203003/1
6 years, 6 months ago (2014-06-23 16:13:27 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-23 17:20:20 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-23 17:44:19 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/12947)
6 years, 6 months ago (2014-06-23 17:44:20 UTC) #8
inactive_dshwang_plz_cc_intel
The CQ bit was checked by dongseong.hwang@chromium.org
6 years, 6 months ago (2014-06-23 18:44:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/344203003/1
6 years, 6 months ago (2014-06-23 18:45:31 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-23 19:56:07 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-23 20:20:24 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/12969)
6 years, 6 months ago (2014-06-23 20:20:25 UTC) #13
kenneth.christiansen
Mikhail, I ran into some issues and I am not sure how to actually fix ...
6 years, 6 months ago (2014-06-24 14:06:20 UTC) #14
mnaganov (inactive)
On 2014/06/24 14:06:20, kenneth.christiansen wrote: > Mikhail, I ran into some issues and I am ...
6 years, 6 months ago (2014-06-24 14:17:46 UTC) #15
kenneth.christiansen
On 2014/06/24 14:17:46, Mikhail Naganov (Cr) wrote: > On 2014/06/24 14:06:20, kenneth.christiansen wrote: > > ...
6 years, 6 months ago (2014-06-24 14:38:45 UTC) #16
mnaganov (inactive)
+aelias Let's ask Alexandre's opinion. Alexandre, do you think shrinksViewportContentToFit is the same thing as ...
6 years, 6 months ago (2014-06-24 14:43:02 UTC) #17
aelias_OOO_until_Jul13
On 2014/06/24 14:43:02, Mikhail Naganov (Cr) wrote: > +aelias > > Let's ask Alexandre's opinion. ...
6 years, 6 months ago (2014-06-24 20:27:56 UTC) #18
kenneth.christiansen
6 years, 6 months ago (2014-06-25 10:04:55 UTC) #19
On 2014/06/24 20:27:56, aelias wrote:
> On 2014/06/24 14:43:02, Mikhail Naganov (Cr) wrote:
> > +aelias
> > 
> > Let's ask Alexandre's opinion.
> > 
> > Alexandre, do you think shrinksViewportContentToFit is the same thing as
> > loadWithOverviewMode? Can we merge them?
> 
> I don't think we should merge them. The "intent" of the settings is identical
> but Android WebView has a bunch of quirks on top of that.  This patch looks
like
> it activates those quirks on other platforms which is definitely not
desirable. 
> That may be the cause of the layout test failures although I haven't taken the
> time to figure out what's going on there.

Yeah, let's not merge them.

Actually, the quirks are activated already (but probably only affects Android),
ie. the setOverviewMode setting is called on desktop as well, resulting in
shrinksViewportContentToFit being called as well (with my patch), which result
in the broken test cases (which according to your patch should work with
shrinksViewportContentToFit enabled).

Powered by Google App Engine
This is Rietveld 408576698