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 115980
Change Clipboard to be a non-abstract DOM class; move it out of the platform directory
https://bugs.webkit.org/show_bug.cgi?id=115980
Summary
Change Clipboard to be a non-abstract DOM class; move it out of the platform ...
Darin Adler
Reported
2013-05-11 22:50:46 PDT
This is a sort of “master bug”. There will be many steps to accomplish this.
Attachments
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2013-05-19 04:29:44 PDT
What remains: - Move ClipboardEfl.cpp source file to dom/efl from platform/efl; even better, later eliminate it entirely. - Move ClipboardGtk.cpp source file to dom/gtk from platform/gtk; even better, later eliminate it entirely. - Move ClipboardMac.mm source file to dom/efl from platform/mac; even better, later eliminate it entirely. - Qt port. - Windows port. - iOS port. Then we can close this bug and go on to fixing other aspects of Clipboard/Pasteboard.
Darin Adler
Comment 2
2013-05-19 15:09:09 PDT
ClipboardEfl.cpp is gone now. Here’s my idea for getting rid of the remaining platform-specific Clipboard functions: Clipboard::declareAndWriteDragImage should move to DragController. Clipboard::createImage should be made platform independent by using functions in FrameSnapshotting and DragImage. This can be done with careful refactoring to preserve current behavior and then later share more code. If we do these then there is nothing to move for ClipboardGtk.cpp and ClipboardMac.mm. We’ll see later about Qt and Windows. And ClipboardIOS.mm should be going away even without those changes.
Darin Adler
Comment 3
2013-08-20 09:49:25 PDT
At this point, the only part left is to get ClipboardMac.mm either removed entirely or out of the platform directory. Not sure which I will do.
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