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

Issue 2168313002: Fix the mobile emulator to use the correct device scale when disabled. (Closed)

Created:
4 years, 5 months ago by Bret
Modified:
4 years, 5 months ago
Reviewers:
dgozman, alph
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, devtools-reviews_chromium.org, jam, pfeldman, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the mobile emulator to use the correct device scale when disabled. The mobile emulator was triggering a layout before it had reapplied the original viewport parameters when it was being disabled, which with use-zoom-for-dsf enabled was causing the wrong viewport size to be given to various components, like plugins and scrollbars. BUG=628501, 628185 R=dgozman@chromium.org Committed: https://crrev.com/d89c7a1578f9f16f6e1fa4375aab232b67fe0f9f Cr-Commit-Position: refs/heads/master@{#407294} Committed: https://chromium.googlesource.com/chromium/src/+/1c78b3850f956c1507e4cdf9429652ee0ef15cb0

Patch Set 1 #

Patch Set 2 : update screen orientation emulator layout test expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M content/renderer/devtools/render_widget_screen_metrics_emulator.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/screen-orientation-override-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Bret
4 years, 5 months ago (2016-07-22 00:25:52 UTC) #3
alph
Dmitry, could you please take a look.
4 years, 5 months ago (2016-07-22 00:44:54 UTC) #5
dgozman
Could this also be a cause of https://bugs.chromium.org/p/chromium/issues/detail?id=628194? lgtm
4 years, 5 months ago (2016-07-22 20:43:59 UTC) #6
Bret
On 2016/07/22 20:43:59, dgozman wrote: > Could this also be a cause of > https://bugs.chromium.org/p/chromium/issues/detail?id=628194? ...
4 years, 5 months ago (2016-07-22 20:52:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2168313002/1
4 years, 5 months ago (2016-07-22 20:53:11 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-22 23:17:55 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/d89c7a1578f9f16f6e1fa4375aab232b67fe0f9f Cr-Commit-Position: refs/heads/master@{#407294}
4 years, 5 months ago (2016-07-22 23:20:03 UTC) #13
Mark P
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2174493004/ by mpearson@chromium.org. ...
4 years, 5 months ago (2016-07-23 00:20:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2168313002/20001
4 years, 5 months ago (2016-07-25 22:17:39 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/1c78b3850f956c1507e4cdf9429652ee0ef15cb0 Cr-Commit-Position: refs/heads/master@{#407639}
4 years, 5 months ago (2016-07-26 00:06:17 UTC) #20
Bret
4 years, 5 months ago (2016-07-26 00:09:19 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
1c78b3850f956c1507e4cdf9429652ee0ef15cb0.

Powered by Google App Engine
This is Rietveld 408576698