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

Issue 23592015: Use constrained values for shouldDisableDesktopWorkarounds. (Closed)

Created:
7 years, 3 months ago by rune
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Use constrained values for shouldDisableDesktopWorkarounds. shouldDisableDesktopWorkarounds() used parsed ViewportArguments instead of the constrained values, which meant auto and percentage sized @viewport would not be considered as documents adapted to small screens. This fix uses the constrained values from PageScaleConstraints instead. A test for using auto-sizing of @viewport was added. BUG=280759 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157173

Patch Set 1 #

Patch Set 2 : Wording in comment didn't match implementation #

Patch Set 3 : Yet another comment fix #

Total comments: 5

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -3 lines) Patch
M Source/web/WebViewImpl.cpp View 1 2 3 1 chunk +12 lines, -3 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A + Source/web/tests/data/disambiguation_popup_viewport_site.html View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
rune
7 years, 3 months ago (2013-08-28 23:34:40 UTC) #1
rune
7 years, 3 months ago (2013-08-29 06:02:47 UTC) #2
kenneth.r.christiansen
lgtm but someone else should take a look https://codereview.chromium.org/23592015/diff/4001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/23592015/diff/4001/Source/web/WebViewImpl.cpp#newcode4118 Source/web/WebViewImpl.cpp:4118: bool ...
7 years, 3 months ago (2013-08-29 13:35:55 UTC) #3
rune
https://codereview.chromium.org/23592015/diff/4001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/23592015/diff/4001/Source/web/WebViewImpl.cpp#newcode4118 Source/web/WebViewImpl.cpp:4118: bool WebViewImpl::shouldDisableDesktopWorkarounds() On 2013/08/29 13:35:55, kenneth.r.christiansen wrote: > If ...
7 years, 3 months ago (2013-08-29 13:57:53 UTC) #4
aelias_OOO_until_Jul13
https://codereview.chromium.org/23592015/diff/4001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/23592015/diff/4001/Source/web/WebViewImpl.cpp#newcode4118 Source/web/WebViewImpl.cpp:4118: bool WebViewImpl::shouldDisableDesktopWorkarounds() On 2013/08/29 13:57:53, rune wrote: > On ...
7 years, 3 months ago (2013-08-29 18:29:35 UTC) #5
kenneth.r.christiansen
ok lgtm
7 years, 3 months ago (2013-09-02 15:32:24 UTC) #6
rune
@mkwst: could you have a look at this? It needs review by an OWNER.
7 years, 3 months ago (2013-09-03 08:20:46 UTC) #7
Mike West
On 2013/09/03 08:20:46, rune wrote: > @mkwst: could you have a look at this? It ...
7 years, 3 months ago (2013-09-03 08:28:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/23592015/4001
7 years, 3 months ago (2013-09-03 08:34:17 UTC) #9
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=6357
7 years, 3 months ago (2013-09-03 08:44:14 UTC) #10
rune
Needs a Source/Web owner. Trying abarth.
7 years, 3 months ago (2013-09-03 08:46:17 UTC) #11
abarth-chromium
LGTM
7 years, 3 months ago (2013-09-03 16:16:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/23592015/4001
7 years, 3 months ago (2013-09-03 17:02:16 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests, webkit_unit_tests, weborigin_unittests, wtf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=3830
7 years, 3 months ago (2013-09-03 17:54:09 UTC) #14
rune
On 2013/09/03 17:54:09, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 3 months ago (2013-09-03 22:39:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/23592015/36001
7 years, 3 months ago (2013-09-03 23:03:45 UTC) #16
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 00:38:17 UTC) #17
Message was sent while issue was closed.
Change committed as 157173

Powered by Google App Engine
This is Rietveld 408576698