[Webkit-unassigned] [Bug 40540] [chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 22 13:15:36 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40540
Daniel Cheng <dcheng at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #59308|0 |1
is obsolete| |
Attachment #59409| |review?, commit-queue?
Flag| |
--- Comment #55 from Daniel Cheng <dcheng at chromium.org> 2010-06-22 13:15:35 PST ---
Created an attachment (id=59409)
--> (https://bugs.webkit.org/attachment.cgi?id=59409)
Patch
(In reply to comment #53)
> (From update of attachment 59308 [details])
> WebCore/platform/chromium/ChromiumBridge.h:106
> + static HashSet<String> clipboardReadTypes(PasteboardPrivate::ClipboardBuffer, bool* containsFilenames);
> clipboardReadTypes might be better named clipboardGetAvailableTypes
>
Done. See comment below about naming.
> WebKit/chromium/public/WebClipboard.h:57
> + BufferDrag,
> It is probably worth saying something about the meaning of BufferDrag here.
> Mention that it is a readonly buffer corresponding to the last drag-n-drop
> operation or something like that.
Done.
> WebKit/chromium/public/WebClipboard.h:77
> + virtual WebVector<WebString> readTypes(Buffer, bool* containsFilenames) = 0;
> readTypes -> getAvailableTypes or maybe readAvailableTypes? what does the
> return value of readData indicate? please specify.
>
Done and done. I chose read over get for consistency.
> WebKit/chromium/src/ChromiumBridge.cpp:203
> + WebDragData dragData; // FIXME: Define the conversion from ClipboardData to WebDragData.
> this would be a good place to call notImplemented()
>
Done.
> WebKit/chromium/src/ChromiumBridge.cpp:221
> + WebKit::WebString resultData;
> no need for the WebKit:: prefix here
Done.
(In reply to comment #54)
> (From update of attachment 59308 [details])
> WebKit/chromium/public/WebClipboard.h:80
> + virtual WebVector<WebString> readFilenames(Buffer) = 0;
> please provide default implementations of these WebClipboard methods.
> any method to be implemented by the embedder should have a default
> implementation.
Done.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list