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

Issue 1923843003: DevTools: Update 3D device in accelerometer emulation (Closed)

Created:
4 years, 7 months ago by luoe
Modified:
4 years, 7 months ago
Reviewers:
lushnikov, PhistucK
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chowse, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, maxwalker, pfeldman+blink_chromium.org, pfeldman, sergeyv+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: Update 3D device in accelerometer emulation BUG=604833 Committed: https://crrev.com/2543cd77d5ecb9f37fa0b59b4c1bf2e6b3a7d0fb Cr-Commit-Position: refs/heads/master@{#391863}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments in patch 1 #

Patch Set 3 : Restaged commit #

Patch Set 4 : Reset should revert back to portrait in select menu #

Total comments: 4

Patch Set 5 : Address comments #

Patch Set 6 : Rebased #

Total comments: 4

Messages

Total messages: 47 (23 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/1
4 years, 7 months ago (2016-04-27 23:18:36 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/208219) mac_chromium_gn_rel on ...
4 years, 7 months ago (2016-04-27 23:22:15 UTC) #6
lushnikov
https://codereview.chromium.org/1923843003/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js File third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js (right): https://codereview.chromium.org/1923843003/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js#newcode9 third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js:9: * @param {boolean} error wait.. I've already seen this ...
4 years, 7 months ago (2016-04-28 17:51:28 UTC) #7
luoe
Geolocation.js and any others *should* be gone from this CL. https://codereview.chromium.org/1923843003/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js File third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js (right): https://codereview.chromium.org/1923843003/diff/1/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js#newcode9 ...
4 years, 7 months ago (2016-04-29 19:00:35 UTC) #8
lushnikov
can we have a screenshot for this as well?
4 years, 7 months ago (2016-05-02 21:06:47 UTC) #9
luoe
Screenshot link added to description.
4 years, 7 months ago (2016-05-02 21:38:40 UTC) #11
luoe
On 2016/05/02 21:38:40, luoe wrote: > Screenshot link added to description. http://imgur.com/PLR6qac
4 years, 7 months ago (2016-05-03 18:27:37 UTC) #13
lushnikov
lgtm https://codereview.chromium.org/1923843003/diff/60001/third_party/WebKit/Source/devtools/devtools.gypi File third_party/WebKit/Source/devtools/devtools.gypi (right): https://codereview.chromium.org/1923843003/diff/60001/third_party/WebKit/Source/devtools/devtools.gypi#newcode817 third_party/WebKit/Source/devtools/devtools.gypi:817: 'front_end/Images/accelerometer-back.png', let's sort these https://codereview.chromium.org/1923843003/diff/60001/third_party/WebKit/Source/devtools/front_end/Images/src/search.svg File third_party/WebKit/Source/devtools/front_end/Images/src/search.svg (left): ...
4 years, 7 months ago (2016-05-04 16:18:25 UTC) #14
luoe
Comments addressed. https://codereview.chromium.org/1923843003/diff/60001/third_party/WebKit/Source/devtools/devtools.gypi File third_party/WebKit/Source/devtools/devtools.gypi (right): https://codereview.chromium.org/1923843003/diff/60001/third_party/WebKit/Source/devtools/devtools.gypi#newcode817 third_party/WebKit/Source/devtools/devtools.gypi:817: 'front_end/Images/accelerometer-back.png', On 2016/05/04 16:18:25, lushnikov wrote: > ...
4 years, 7 months ago (2016-05-04 18:05:46 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/60001
4 years, 7 months ago (2016-05-04 18:06:26 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/80001
4 years, 7 months ago (2016-05-04 19:18:24 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 21:26:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/80001
4 years, 7 months ago (2016-05-04 21:50:22 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/177797)
4 years, 7 months ago (2016-05-04 21:59:43 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/80001
4 years, 7 months ago (2016-05-04 23:40:30 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/100001
4 years, 7 months ago (2016-05-04 23:44:27 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/65361)
4 years, 7 months ago (2016-05-05 02:09:56 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/100001
4 years, 7 months ago (2016-05-05 17:55:47 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-05 18:42:20 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923843003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923843003/100001
4 years, 7 months ago (2016-05-05 18:56:12 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-05 19:02:42 UTC) #42
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/2543cd77d5ecb9f37fa0b59b4c1bf2e6b3a7d0fb Cr-Commit-Position: refs/heads/master@{#391863}
4 years, 7 months ago (2016-05-05 19:03:52 UTC) #44
PhistucK
This change list adds some new prefixed feature usage. I think they can (and should) ...
4 years, 7 months ago (2016-05-06 11:25:44 UTC) #46
luoe
4 years, 7 months ago (2016-05-06 18:02:11 UTC) #47
Message was sent while issue was closed.
On 2016/05/06 11:25:44, PhistucK wrote:
> This change list adds some new prefixed feature usage. I think they can (and
> should) be dropped. :(
> 
>
https://codereview.chromium.org/1923843003/diff/100001/third_party/WebKit/Sou...
> File third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js
> (right):
> 
>
https://codereview.chromium.org/1923843003/diff/100001/third_party/WebKit/Sou...
> third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js:322:
> this._boxElement.style.webkitTransform = this._boxMatrix.toString();
> I understand you did not touch this, but can this be changed from
> webkitTransform to transform?
> 
>
https://codereview.chromium.org/1923843003/diff/100001/third_party/WebKit/Sou...
> third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js:349: var
> mat90 = new WebKitCSSMatrix();
> It is so crucial to use WebKitCSSMatrix? Can this be implemented without it?
> 
>
https://codereview.chromium.org/1923843003/diff/100001/third_party/WebKit/Sou...
> third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js:351:
> this._boxElement.style.webkitTransform = mat90.multiply(this._currentMatrix);
> webkitTransform to transform
> 
>
https://codereview.chromium.org/1923843003/diff/100001/third_party/WebKit/Sou...
> File third_party/WebKit/Source/devtools/front_end/emulation/sensors.css
(right):
> 
>
https://codereview.chromium.org/1923843003/diff/100001/third_party/WebKit/Sou...
> third_party/WebKit/Source/devtools/front_end/emulation/sensors.css:113:
> background: -webkit-linear-gradient(#E1F5FE 0%, #E1F5FE 64%, #b0Ebf3 64%,
> #DEF6F9 100%);
> Why -webkit-linear-gradient and not just linear-gradient?

You're right, we should be avoiding webkit prefixes if they are not necessary. 
I had not considered removing prefixes, but taking out the webkit in front of
"transform" and "linear-gradient" is something I will do in a separate CL. 
Comment added to https://bugs.chromium.org/p/chromium/issues/detail?id=604833

I don't know of a clean way of implementing the orientation transformations
without a Matrix interface like WebKitCSSMatrix.  Since there isn't an
unprefixed CSSMatrix, I'd say we can use it for now.  There are a few other
places in our code that use WebKitCSSMatrix, so this isn't just a one-off
either.

Powered by Google App Engine
This is Rietveld 408576698