[Webkit-unassigned] [Bug 40455] New: Refactoring the Clipboard class to abstract away platform-specific logic
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 10 17:44:21 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40455
Summary: Refactoring the Clipboard class to abstract away
platform-specific logic
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dcheng at chromium.org
The clipboard class today is a mish-mash of logic that's used for both copy and paste and dragging, with a lot of platform-specific logic embedded in DOM code. The proposed patch moves the platform-specific logic into the ClipboardData abstraction. Platforms can define different implementations of ClipboardData in order to read from the system clipboard or from platform drag-and-drop data. Eventually, if everyone moves to using ClipboardData, the various DragData*.cpp implementations can probably be consolidated as well.
This is just a patch to get some feedback on the general approach. I'd break this patch up into several smaller ones when it comes time to land it.
--
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