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

Issue 23038013: [Android WebView] Avoid expanding layout width to match the old WebView (Closed)

Created:
7 years, 4 months ago by mnaganov (inactive)
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, android-webview-reviews_chromium.org
Visibility:
Public.

Description

[Android WebView] Avoid expanding layout width to match the old WebView The old WebView doesn't expand the layout width for the resolved initial scale. BUG=277369 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156969

Patch Set 1 #

Total comments: 2

Patch Set 2 : Narrowing behavior change #

Patch Set 3 : Created a separate setting #

Total comments: 11

Patch Set 4 : Addressed aelias' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -3 lines) Patch
M Source/core/css/CSSParserMode.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ViewportArguments.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.h View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.cpp View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A Source/web/tests/data/viewport-device-0.5x-initial-scale.html View 1 chunk +8 lines, -0 lines 0 comments Download
M public/web/WebSettings.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
mnaganov (inactive)
Alexandre, PTAL! If you are OK with the change, please forward it for owner's review ...
7 years, 4 months ago (2013-08-21 13:26:33 UTC) #1
aelias_OOO_until_Jul13
https://codereview.chromium.org/23038013/diff/1/Source/core/page/PageScaleConstraintsSet.cpp File Source/core/page/PageScaleConstraintsSet.cpp (right): https://codereview.chromium.org/23038013/diff/1/Source/core/page/PageScaleConstraintsSet.cpp#newcode140 Source/core/page/PageScaleConstraintsSet.cpp:140: adjustedLayoutSizeWidth = arguments.width; This ends up bypassing every other ...
7 years, 4 months ago (2013-08-21 20:23:54 UTC) #2
mnaganov (inactive)
https://codereview.chromium.org/23038013/diff/1/Source/core/page/PageScaleConstraintsSet.cpp File Source/core/page/PageScaleConstraintsSet.cpp (right): https://codereview.chromium.org/23038013/diff/1/Source/core/page/PageScaleConstraintsSet.cpp#newcode140 Source/core/page/PageScaleConstraintsSet.cpp:140: adjustedLayoutSizeWidth = arguments.width; On 2013/08/21 20:23:54, aelias wrote: > ...
7 years, 4 months ago (2013-08-22 08:51:55 UTC) #3
aelias_OOO_until_Jul13
[+abarth] Hmm, I'm a bit on the fence about whether this is fine, or whether ...
7 years, 4 months ago (2013-08-24 00:53:34 UTC) #4
abarth-chromium
On 2013/08/24 00:53:34, aelias wrote: > Adam, do you have an opinion on this? I'd ...
7 years, 4 months ago (2013-08-24 18:26:18 UTC) #5
mnaganov (inactive)
OK, I created a separate setting for that.
7 years, 3 months ago (2013-08-27 15:47:30 UTC) #6
kenneth.r.christiansen
https://codereview.chromium.org/23038013/diff/12001/Source/web/WebSettingsImpl.h File Source/web/WebSettingsImpl.h (right): https://codereview.chromium.org/23038013/diff/12001/Source/web/WebSettingsImpl.h#newcode96 Source/web/WebSettingsImpl.h:96: virtual void setExpandLayoutToFillVisualViewport(bool); As this is a Quirk can ...
7 years, 3 months ago (2013-08-27 17:42:21 UTC) #7
mnaganov (inactive)
Hello, Kenneth! I'm glad to get your feedback. Can you please be more specific in ...
7 years, 3 months ago (2013-08-27 18:16:50 UTC) #8
mnaganov (inactive)
On 2013/08/27 18:16:50, Mikhail Naganov (Chromium) wrote: > Hello, Kenneth! I'm glad to get your ...
7 years, 3 months ago (2013-08-28 18:52:00 UTC) #9
aelias_OOO_until_Jul13
lg2m modulo the below changes. https://codereview.chromium.org/23038013/diff/12001/Source/core/dom/ViewportArguments.h File Source/core/dom/ViewportArguments.h (right): https://codereview.chromium.org/23038013/diff/12001/Source/core/dom/ViewportArguments.h#newcode58 Source/core/dom/ViewportArguments.h:58: NoExpansionToFillVisualViewport Please move it ...
7 years, 3 months ago (2013-08-28 21:26:46 UTC) #10
aelias_OOO_until_Jul13
Well, also kenneth's deeper concern is that https://codereview.chromium.org/19555002/ refactors a lot of this and deletes ...
7 years, 3 months ago (2013-08-28 21:35:20 UTC) #11
mnaganov (inactive)
https://codereview.chromium.org/23038013/diff/12001/Source/core/dom/ViewportArguments.h File Source/core/dom/ViewportArguments.h (right): https://codereview.chromium.org/23038013/diff/12001/Source/core/dom/ViewportArguments.h#newcode58 Source/core/dom/ViewportArguments.h:58: NoExpansionToFillVisualViewport On 2013/08/28 21:26:47, aelias wrote: > Please move ...
7 years, 3 months ago (2013-08-29 12:09:54 UTC) #12
aelias_OOO_until_Jul13
lgtm, just needs OWNERS approval. Adam/Kenneth?
7 years, 3 months ago (2013-08-29 18:18:05 UTC) #13
abarth-chromium
LGTM. Thank you for the test.
7 years, 3 months ago (2013-08-30 06:50:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/23038013/23001
7 years, 3 months ago (2013-08-30 06:50:49 UTC) #15
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 08:08:27 UTC) #16
Message was sent while issue was closed.
Change committed as 156969

Powered by Google App Engine
This is Rietveld 408576698