WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 117683
Move Clipboard::declareAndWriteDragImage to DragController
https://bugs.webkit.org/show_bug.cgi?id=117683
Summary
Move Clipboard::declareAndWriteDragImage to DragController
Darin Adler
Reported
2013-06-16 11:33:52 PDT
Move Clipboard::declareAndWriteDragImage to DragController
Attachments
Patch
(19.07 KB, patch)
2013-06-16 11:40 PDT
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(19.07 KB, patch)
2013-06-16 11:49 PDT
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(19.11 KB, patch)
2013-06-16 11:59 PDT
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(19.80 KB, patch)
2013-06-23 18:02 PDT
,
Darin Adler
bfulgham
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2013-06-16 11:40:00 PDT
Created
attachment 204790
[details]
Patch
Darin Adler
Comment 2
2013-06-16 11:40:56 PDT
Relatively straightforward refactoring, helps trim down the size of the Clipboard class and give it focus.
Early Warning System Bot
Comment 3
2013-06-16 11:45:24 PDT
Comment on
attachment 204790
[details]
Patch
Attachment 204790
[details]
did not pass qt-ews (qt): Output:
http://webkit-queues.appspot.com/results/930174
Early Warning System Bot
Comment 4
2013-06-16 11:46:33 PDT
Comment on
attachment 204790
[details]
Patch
Attachment 204790
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/867597
Darin Adler
Comment 5
2013-06-16 11:49:27 PDT
Created
attachment 204791
[details]
Patch
Early Warning System Bot
Comment 6
2013-06-16 11:55:18 PDT
Comment on
attachment 204791
[details]
Patch
Attachment 204791
[details]
did not pass qt-ews (qt): Output:
http://webkit-queues.appspot.com/results/867601
Early Warning System Bot
Comment 7
2013-06-16 11:56:02 PDT
Comment on
attachment 204791
[details]
Patch
Attachment 204791
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/904217
Darin Adler
Comment 8
2013-06-16 11:59:13 PDT
Created
attachment 204792
[details]
Patch
Early Warning System Bot
Comment 9
2013-06-16 12:05:18 PDT
Comment on
attachment 204792
[details]
Patch
Attachment 204792
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/944059
Early Warning System Bot
Comment 10
2013-06-16 12:05:27 PDT
Comment on
attachment 204792
[details]
Patch
Attachment 204792
[details]
did not pass qt-ews (qt): Output:
http://webkit-queues.appspot.com/results/928216
Build Bot
Comment 11
2013-06-16 12:46:59 PDT
Comment on
attachment 204792
[details]
Patch
Attachment 204792
[details]
did not pass win-ews (win): Output:
http://webkit-queues.appspot.com/results/943005
Darin Adler
Comment 12
2013-06-23 18:02:28 PDT
Created
attachment 205272
[details]
Patch
Build Bot
Comment 13
2013-06-23 18:39:47 PDT
Comment on
attachment 205272
[details]
Patch
Attachment 205272
[details]
did not pass win-ews (win): Output:
http://webkit-queues.appspot.com/results/964575
Ryosuke Niwa
Comment 14
2013-08-01 20:00:47 PDT
Comment on
attachment 205272
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=205272&action=review
> Source/WebCore/page/DragController.cpp:705 > + if (element->isContentRichlyEditable()) {
Maybe it would be cleaner to move this check in the caller so that this function will just be named selectElement?
Ryosuke Niwa
Comment 15
2013-08-01 20:01:13 PDT
Brent or Roger should look at the Windows port's change.
Brent Fulgham
Comment 16
2013-08-01 20:52:24 PDT
Comment on
attachment 205272
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=205272&action=review
I think the changes look good, but I'm curious about the original handling of the source URL; are we changing behavior in some unintentional fashion?
> Source/WebCore/platform/win/ClipboardWin.cpp:-69 > - AtomicString imageURL = element->getAttribute(HTMLNames::srcAttr);
Do we not need this anymore? I wonder why this more complicated mechanism for retrieving the image source was used previously?
Darin Adler
Comment 17
2013-08-02 19:44:59 PDT
Comment on
attachment 205272
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=205272&action=review
>> Source/WebCore/platform/win/ClipboardWin.cpp:-69 >> - AtomicString imageURL = element->getAttribute(HTMLNames::srcAttr); > > Do we not need this anymore? I wonder why this more complicated mechanism for retrieving the image source was used previously?
I believe that this code check to see if there is any image in the element is redundant, and done at another level. To be clear, the code is not retrieving the image source. Note below that fullURL is constructed so it can be checked to see if it’s empty. Nothing else is done with it.
Brent Fulgham
Comment 18
2013-08-12 09:26:36 PDT
Comment on
attachment 205272
[details]
Patch r=me
Darin Adler
Comment 19
2013-08-12 22:57:09 PDT
Committed
r153978
: <
http://trac.webkit.org/changeset/153978
>
Ryosuke Niwa
Comment 20
2013-08-13 00:19:43 PDT
Windows build fixes landed in:
http://trac.webkit.org/changeset/153983
http://trac.webkit.org/changeset/153984
http://trac.webkit.org/changeset/153985
http://trac.webkit.org/changeset/153988
Darin Adler
Comment 21
2013-08-13 07:23:05 PDT
Thanks for fixing Windows. Not sure why I didn’t notice the EWS failure!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug