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

Issue 2352773003: Fix the scale of Drag and Drop shadow image. (Closed)

Created:
4 years, 3 months ago by hush (inactive)
Modified:
4 years, 3 months ago
Reviewers:
Ted C, bokan, wjmaclean, dcheng
CC:
chromium-reviews, jam, darin-cc_chromium.org, oshima
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the scale of Drag and Drop shadow image. Physical Pixel = CSS pixel * DIP scale * page scale. In the case of our bitmap shadow image, page scale is not applied to it. BUG=648413 Committed: https://crrev.com/adba2165f4c6e1c7d4a78179d6e066aa8e37f938 Cr-Commit-Position: refs/heads/master@{#420243}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix in blink instead. #

Patch Set 3 : add tests #

Patch Set 4 : space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -3 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrameTest.cpp View 1 2 3 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
hush (inactive)
Hello Ted, PTAL
4 years, 3 months ago (2016-09-20 18:21:03 UTC) #2
Ted C
https://codereview.chromium.org/2352773003/diff/1/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2352773003/diff/1/content/browser/web_contents/web_contents_view_android.cc#newcode256 content/browser/web_contents/web_contents_view_android.cc:256: jtext, gfx::ConvertToJavaBitmap(image.bitmap()), page_scale)) { who generates the bitmap? In ...
4 years, 3 months ago (2016-09-20 20:05:24 UTC) #3
hush (inactive)
https://codereview.chromium.org/2352773003/diff/1/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2352773003/diff/1/content/browser/web_contents/web_contents_view_android.cc#newcode256 content/browser/web_contents/web_contents_view_android.cc:256: jtext, gfx::ConvertToJavaBitmap(image.bitmap()), page_scale)) { On 2016/09/20 20:05:24, Ted C ...
4 years, 3 months ago (2016-09-20 21:32:33 UTC) #4
hush (inactive)
Hello Daniel, PTAL
4 years, 3 months ago (2016-09-20 22:09:09 UTC) #6
dcheng
+wjmaclean for the review, he knows the scaling stuff better than me. (I thought we ...
4 years, 3 months ago (2016-09-20 22:17:24 UTC) #8
wjmaclean
On 2016/09/20 22:17:24, dcheng wrote: > +wjmaclean for the review, he knows the scaling stuff ...
4 years, 3 months ago (2016-09-21 20:26:02 UTC) #9
wjmaclean
+ bokan@ in case he wants a look.
4 years, 3 months ago (2016-09-21 20:26:40 UTC) #12
bokan
Change looks fine to me, could we get a test?
4 years, 3 months ago (2016-09-21 21:02:16 UTC) #15
hush (inactive)
On 2016/09/21 at 21:02:16, bokan wrote: > Change looks fine to me, could we get ...
4 years, 3 months ago (2016-09-21 23:07:11 UTC) #18
bokan
thanks, lgtm
4 years, 3 months ago (2016-09-21 23:08:25 UTC) #19
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/2352773003/60001
4 years, 3 months ago (2016-09-21 23:31:49 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-22 02:27:22 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 02:28:41 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/adba2165f4c6e1c7d4a78179d6e066aa8e37f938
Cr-Commit-Position: refs/heads/master@{#420243}

Powered by Google App Engine
This is Rietveld 408576698