[Webkit-unassigned] [Bug 25849] Clipboard.* are in dom/ but ClipboardMac.* are in platform/

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 18 17:34:47 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25849





------- Comment #3 from darin at apple.com  2009-05-18 17:34 PDT -------
(In reply to comment #2)
> It sounds like Clipboard might need to be split?  Into dom/DOMClipboard.* and
> platform/Clipboard.*, or is Pasteboard* already supposed to be the
> platform/clipboard* stuff and we just haven't factored things quite right?

Yes.

Clipboard is a DOM object and should stay as one.

Pasteboard is an attempt at a platform abstraction for pasteboards/clipboards,
but:

    1) Clipboard doesn't try to us it!
    2) It has reverse dependencies on the DOM and Frame anyway, so it's not a
good platform layer citizen, and probably needs to go into the editing
directory.

Making Pasteboard a better abstraction that really can live entirely in the
platform directory is a one future direction, but for now we can probably live
with having it in the editing directory for now, and Clipboard can use it as
much as possible. Maybe later we can find a lower-level part we can truly
factor out so it can go in the platform directory.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list