[Webkit-unassigned] [Bug 34293] New: Add writeToPasteboard function to Clipboard interface and add stub implementations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 16:57:33 PST 2010


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

           Summary: Add writeToPasteboard function to Clipboard interface
                    and add stub implementations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dcheng at google.com


This particular implementation was chosen to simplify potential Windows
implementations of Clipboard::clearData(). It also helps with copy-and-paste as
drag-and-drop; though that part of the spec is current in flux, it doesn't hurt
keep it in mind when making patches in this area.

Calling writeToPasteboard() should do the following:
if (!isForDragging()) return false;
if (!isDirty()) return true;  // Dirty bit is tracked by each implementation.
/* copy data to system pasteboard */

Since the first two lines should be common to all implementations, should I
split it into two functions, writeToPasteboard() and virtual
writeToPasteboardImpl()?

-- 
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