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

Issue 16715002: Refactor WebCore::DragImage. (Closed)

Created:
7 years, 6 months ago by jbroman
Modified:
7 years, 6 months ago
Reviewers:
jamesr, pdr., varunjain, eseidel
CC:
blink-reviews, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Nate Chapin, jeez, gavinp+loader_chromium.org, danakj
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Refactor WebCore::DragImage. This CL combines DragImage and DragImageChromiumSkia and changes style to be more object-oriented and use smart pointers (to clarify ownership semantics). This makes the resulting code smaller and more consistent with the rest of Blink. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152692

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 10

Patch Set 13 : merge upstream changes, some changes per jamesr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -376 lines) Patch
M Source/WebKit/chromium/src/DragClientImpl.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M Source/WebKit/chromium/src/DragClientImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +19 lines, -10 lines 0 comments Download
M Source/WebKit/chromium/tests/DragImageTest.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +20 lines, -22 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/Clipboard.h View 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/loader/EmptyClients.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/page/DragClient.h View 1 2 3 4 1 chunk +14 lines, -14 lines 0 comments Download
M Source/core/page/DragController.h View 1 2 3 4 4 chunks +5 lines, -4 lines 0 comments Download
M Source/core/page/DragController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +26 lines, -29 lines 0 comments Download
M Source/core/page/Frame.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -4 lines 0 comments Download
M Source/core/page/Frame.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -9 lines 0 comments Download
M Source/core/platform/DragImage.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +30 lines, -28 lines 0 comments Download
M Source/core/platform/DragImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +134 lines, -46 lines 0 comments Download
M Source/core/platform/chromium/ClipboardChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/chromium/ClipboardChromium.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -5 lines 0 comments Download
D Source/core/platform/chromium/DragImageChromiumSkia.cpp View 1 chunk +0 lines, -153 lines 0 comments Download
D Source/core/platform/chromium/DragImageRef.h View 1 chunk +0 lines, -45 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jbroman
This should be functionally identical, but I think it's a little cleaner and more consistent. ...
7 years, 6 months ago (2013-06-11 12:59:36 UTC) #1
varunjain
On 2013/06/11 12:59:36, jbroman wrote: > This should be functionally identical, but I think it's ...
7 years, 6 months ago (2013-06-13 20:52:47 UTC) #2
jbroman
ping for OWNER review
7 years, 6 months ago (2013-06-17 16:45:49 UTC) #3
jamesr
https://codereview.chromium.org/16715002/diff/23001/Source/WebKit/DEPS File Source/WebKit/DEPS (right): https://codereview.chromium.org/16715002/diff/23001/Source/WebKit/DEPS#newcode10 Source/WebKit/DEPS:10: "+third_party/skia", we've been including skia headers with just #include ...
7 years, 6 months ago (2013-06-17 17:51:00 UTC) #4
jbroman
https://codereview.chromium.org/16715002/diff/23001/Source/WebKit/DEPS File Source/WebKit/DEPS (right): https://codereview.chromium.org/16715002/diff/23001/Source/WebKit/DEPS#newcode10 Source/WebKit/DEPS:10: "+third_party/skia", On 2013/06/17 17:51:00, jamesr wrote: > we've been ...
7 years, 6 months ago (2013-06-17 18:52:10 UTC) #5
jbroman
ping jamesr (PTAL)
7 years, 6 months ago (2013-06-18 23:25:37 UTC) #6
jamesr
lgtm
7 years, 6 months ago (2013-06-18 23:31:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/16715002/33001
7 years, 6 months ago (2013-06-18 23:33:46 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-06-19 02:57:22 UTC) #9
Message was sent while issue was closed.
Change committed as 152692

Powered by Google App Engine
This is Rietveld 408576698