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

Issue 1646543002: Create the drag image at target scale factor when possible. (Closed)

Created:
4 years, 10 months ago by oshima
Modified:
4 years, 10 months ago
Reviewers:
dcheng
CC:
dcheng, blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create the drag image at target scale factor when possible. BUG=581753 TEST=manual Committed: https://crrev.com/3eed101e954b794f7ec08fad9a8e68bc8ba94be3 Cr-Commit-Position: refs/heads/master@{#371973}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : layout test #

Total comments: 1

Messages

Total messages: 22 (10 generated)
oshima
https://codereview.chromium.org/1646543002/diff/80001/third_party/WebKit/Source/core/page/DragController.cpp File third_party/WebKit/Source/core/page/DragController.cpp (right): https://codereview.chromium.org/1646543002/diff/80001/third_party/WebKit/Source/core/page/DragController.cpp#newcode896 third_party/WebKit/Source/core/page/DragController.cpp:896: imageSizeInPixels.scale(src->host()->deviceScaleFactor()); This is same as what LocalFrame is doing ...
4 years, 10 months ago (2016-01-27 19:01:09 UTC) #8
oshima
https://codereview.chromium.org/1646543002/diff/80001/third_party/WebKit/Source/core/page/DragController.cpp File third_party/WebKit/Source/core/page/DragController.cpp (right): https://codereview.chromium.org/1646543002/diff/80001/third_party/WebKit/Source/core/page/DragController.cpp#newcode896 third_party/WebKit/Source/core/page/DragController.cpp:896: imageSizeInPixels.scale(src->host()->deviceScaleFactor()); This is same as what LocalFrame is doing ...
4 years, 10 months ago (2016-01-27 19:01:09 UTC) #9
dcheng
Any chance we can write a test? There's a DRT method to dump the drag ...
4 years, 10 months ago (2016-01-27 19:05:24 UTC) #10
oshima
On 2016/01/27 19:05:24, dcheng wrote: > Any chance we can write a test? There's a ...
4 years, 10 months ago (2016-01-27 19:08:56 UTC) #11
dcheng
The rest seems reasonable (I assume we'll be able to clean it up once both ...
4 years, 10 months ago (2016-01-27 19:14:32 UTC) #12
oshima
On 2016/01/27 19:14:32, dcheng wrote: > The rest seems reasonable (I assume we'll be able ...
4 years, 10 months ago (2016-01-27 19:22:40 UTC) #13
oshima
I added new test. PTAL I included the expected image as a reference. It's using ...
4 years, 10 months ago (2016-01-27 19:43:57 UTC) #14
oshima
https://codereview.chromium.org/1646543002/diff/100001/third_party/WebKit/LayoutTests/fast/hidpi/static/drag-image.html File third_party/WebKit/LayoutTests/fast/hidpi/static/drag-image.html (right): https://codereview.chromium.org/1646543002/diff/100001/third_party/WebKit/LayoutTests/fast/hidpi/static/drag-image.html#newcode5 third_party/WebKit/LayoutTests/fast/hidpi/static/drag-image.html:5: height: 50px; I'm using skewed size (original image is ...
4 years, 10 months ago (2016-01-27 19:44:51 UTC) #15
dcheng
lgtm, hopefully we can get this migrated over sooner rather than later. thanks!
4 years, 10 months ago (2016-01-27 22:41:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646543002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646543002/100001
4 years, 10 months ago (2016-01-28 01:22:57 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 10 months ago (2016-01-28 02:52:17 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 02:53:20 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3eed101e954b794f7ec08fad9a8e68bc8ba94be3
Cr-Commit-Position: refs/heads/master@{#371973}

Powered by Google App Engine
This is Rietveld 408576698