[Webkit-unassigned] [Bug 46004] Change Clipboard to use an enum instead of isForDragging = true/false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 20 14:44:22 PDT 2010


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


David Levin <levin at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #68114|commit-queue?               |commit-queue-
               Flag|                            |




--- Comment #9 from David Levin <levin at chromium.org>  2010-09-20 14:44:22 PST ---
(From update of attachment 68114)
View in context: https://bugs.webkit.org/attachment.cgi?id=68114&action=review

> WebCore/ChangeLog:8
> +        No new tests. (OOPS!)

This needs to be replaced with an explanation. Either:
1. Name the test(s),
2. Describe why a test isn't possible, or
3. Indicate that no new functionality is exposed so no new test is needed.

> WebCore/dom/Clipboard.h:96
> +        Clipboard(ClipboardAccessPolicy, ClipboardType clipboardType);

Parameter name "clipboardType" shouldn't be here.

> WebCore/platform/chromium/ClipboardChromium.cpp:207
>              // If this isn't for a drag, it's for a cut/paste event handler.

It looks like this comment isn't needed anymore (but if you remove it, you need to update the next comment line slightly).

> WebCore/platform/chromium/ClipboardChromium.cpp:223
>              // If this isn't for a drag, it's for a cut/paste event handler.

Ditto.

> WebCore/platform/mac/ClipboardMac.h:82
> +    ClipboardMac(ClipboardType clipboardType, NSPasteboard *, ClipboardAccessPolicy, Frame*);

Param name should go away.

> WebCore/platform/win/ClipboardWin.h:81
> +    ClipboardWin(ClipboardType clipboardType, IDataObject*, ClipboardAccessPolicy, Frame*);
> +    ClipboardWin(ClipboardType clipboardType, WCDataObject*, ClipboardAccessPolicy, Frame*);

Param name should go away.

> WebCore/platform/wx/ClipboardWx.h:68
> +        ClipboardWx(ClipboardAccessPolicy, ClipboardType clipboardType);

Param name should go away.

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