[Webkit-unassigned] [Bug 135515] Create stub long mouse press controller. Part of 135257 - Add long mouse press gesture

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 1 14:26:58 PDT 2014


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


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #235894|review?                     |review-
               Flag|                            |




--- Comment #2 from Simon Fraser (smfr) <simon.fraser at apple.com>  2014-08-01 14:27:10 PST ---
(From update of attachment 235894)
View in context: https://bugs.webkit.org/attachment.cgi?id=235894&action=review

> Source/WebCore/page/ChromeClient.h:198
> +    virtual void startLongMousePress(const IntPoint&) const = 0;

This should be didStartLongMousePress, right?

> Source/WebCore/page/ChromeClient.h:199
> +    virtual void triggerLongMousePress() const = 0;

triggered?

> Source/WebCore/page/ChromeClient.h:200
> +    virtual void cancelLongMousePress() const = 0;

didCancel?

> Source/WebKit2/Shared/LongMousePressData.h:48
> +    String urlString;

Can this be a URL?

> Source/WebKit2/WebProcess/WebPage/LongMousePressController.h:50
> +    __unused WebPage* m_webPage;

Weird.

> Source/WebKit2/WebProcess/WebPage/WebPage.h:1176
> +    LongMousePressController m_longMousePressController;

Can we store in a unique_pointer and only allocate when we need one?

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