WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
34293
Add writeToPasteboard function to Clipboard interface and add stub implementations
https://bugs.webkit.org/show_bug.cgi?id=34293
Summary
Add writeToPasteboard function to Clipboard interface and add stub implementa...
Daniel Cheng
Reported
2010-01-28 16:57:33 PST
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()?
Attachments
Patch
(9.55 KB, patch)
2010-01-28 17:00 PST
,
Daniel Cheng
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Daniel Cheng
Comment 1
2010-01-28 17:00:02 PST
Created
attachment 47656
[details]
Patch
Daniel Cheng
Comment 2
2010-02-04 15:36:46 PST
After talking with dimich, I have decided to refactor the Clipboard class instead.
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