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

Issue 2431823002: DevTools: device mode devices remember last used zoom (Closed)

Created:
4 years, 2 months ago by luoe
Modified:
4 years, 1 month ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: device mode devices remember last used zoom Before, switching devices in Device Mode would set the zoom scale to fit the window. Now, devices will remember their last used mode. BUG=656020 Committed: https://crrev.com/f65c9f608caeade772dd9ae7845ed71d2bc4e10a Cr-Commit-Position: refs/heads/master@{#427196}

Patch Set 1 #

Total comments: 9

Patch Set 2 : ac #

Patch Set 3 : Devices remember last scale #

Total comments: 2

Patch Set 4 : revert orientation changes #

Patch Set 5 : rename to device-mode-test #

Messages

Total messages: 25 (12 generated)
luoe
New device mode layout test added, please take a look.
4 years, 2 months ago (2016-10-18 21:26:24 UTC) #3
dgozman
Nice one! https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html File third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html (right): https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html#newcode22 third_party/WebKit/LayoutTests/inspector/device-mode-switching-devices.html:22: var dmv = new WebInspector.DeviceModeView(); We use ...
4 years, 2 months ago (2016-10-19 00:42:45 UTC) #4
luoe
Comments addressed. Zoom preservation removed, since it isn't yet clear that we would always want ...
4 years, 2 months ago (2016-10-20 00:17:08 UTC) #6
dgozman
User from the bug now says that they only cared about zoom, and that remembering ...
4 years, 2 months ago (2016-10-20 20:54:37 UTC) #7
luoe
Sounds good to me. I'll update this patch with last-zoom-for-device.
4 years, 2 months ago (2016-10-20 21:07:36 UTC) #8
luoe
Updated CL with "each device remembers its last zoom level". Please take another look
4 years, 2 months ago (2016-10-21 00:49:27 UTC) #10
dgozman
https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js File third_party/WebKit/LayoutTests/inspector/device-mode.js (right): https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js#newcode1 third_party/WebKit/LayoutTests/inspector/device-mode.js:1: var initialize_DeviceMode = function() On 2016/10/19 00:42:45, dgozman wrote: ...
4 years, 2 months ago (2016-10-21 20:32:56 UTC) #11
luoe
https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js File third_party/WebKit/LayoutTests/inspector/device-mode.js (right): https://codereview.chromium.org/2431823002/diff/1/third_party/WebKit/LayoutTests/inspector/device-mode.js#newcode1 third_party/WebKit/LayoutTests/inspector/device-mode.js:1: var initialize_DeviceMode = function() On 2016/10/21 20:32:56, dgozman wrote: ...
4 years, 2 months ago (2016-10-22 01:58:03 UTC) #13
dgozman
lgtm
4 years, 1 month ago (2016-10-24 17:28:09 UTC) #14
luoe
Thank you for the quick review.
4 years, 1 month ago (2016-10-24 17:28:59 UTC) #16
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/2431823002/80001
4 years, 1 month ago (2016-10-25 00:48:52 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-25 00:54:40 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 00:56:33 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f65c9f608caeade772dd9ae7845ed71d2bc4e10a
Cr-Commit-Position: refs/heads/master@{#427196}

Powered by Google App Engine
This is Rietveld 408576698