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

Issue 2020083004: [DevTools] Try to adjust device mode scale to avoid rounding errors. (Closed)

Created:
4 years, 6 months ago by dgozman
Modified:
4 years, 6 months ago
Reviewers:
lushnikov
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, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Try to adjust device mode scale to avoid rounding errors. If not possible, fallback to faithful emulation with correct size. BUG=599511 Committed: https://crrev.com/128414e543648a361e5791cde27e11f6d399d19a Cr-Commit-Position: refs/heads/master@{#400764}

Patch Set 1 #

Total comments: 8

Patch Set 2 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js View 1 5 chunks +33 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
dgozman
Take a look please.
4 years, 6 months ago (2016-06-01 00:48:41 UTC) #2
lushnikov
https://codereview.chromium.org/2020083004/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js File third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js (right): https://codereview.chromium.org/2020083004/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js#newcode445 third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js:445: if (this._type !== WebInspector.DeviceModeModel.Type.Device || !this._mode) how could this._type ...
4 years, 6 months ago (2016-06-02 03:40:58 UTC) #3
dgozman
I'll address nits later. See replies. https://codereview.chromium.org/2020083004/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js File third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js (right): https://codereview.chromium.org/2020083004/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js#newcode445 third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js:445: if (this._type !== ...
4 years, 6 months ago (2016-06-03 17:47:45 UTC) #4
lushnikov
lgtm
4 years, 6 months ago (2016-06-16 10:28:38 UTC) #5
dgozman
https://codereview.chromium.org/2020083004/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js File third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js (right): https://codereview.chromium.org/2020083004/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js#newcode530 third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js:530: _isInteger: function(n) On 2016/06/02 03:40:58, lushnikov_ooo wrote: > There ...
4 years, 6 months ago (2016-06-20 18:59:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020083004/20001
4 years, 6 months ago (2016-06-20 19:01:47 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-20 20:26:23 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 20:28:46 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/128414e543648a361e5791cde27e11f6d399d19a
Cr-Commit-Position: refs/heads/master@{#400764}

Powered by Google App Engine
This is Rietveld 408576698