Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebCoalescedInputEvent.h |
| diff --git a/third_party/WebKit/public/platform/WebCoalescedInputEvent.h b/third_party/WebKit/public/platform/WebCoalescedInputEvent.h |
| index e1a282a542c6f01cd7fa08d2fe06723689344ddb..3234c2b5ed432cc5b17ba5f9d8809427f1e7b0cd 100644 |
| --- a/third_party/WebKit/public/platform/WebCoalescedInputEvent.h |
| +++ b/third_party/WebKit/public/platform/WebCoalescedInputEvent.h |
| @@ -13,18 +13,10 @@ |
| namespace blink { |
| -struct BLINK_COMMON_EXPORT WebInputEventDeleter { |
| - void operator()(blink::WebInputEvent*) const; |
| -}; |
| - |
| -using WebScopedInputEvent = |
| - std::unique_ptr<WebInputEvent, WebInputEventDeleter>; |
| - |
| // This class is representing a polymorphic WebInputEvent structure with its |
| // coalesced events. The event could be any events defined in WebInputEvent.h. |
| -class BLINK_COMMON_EXPORT WebCoalescedInputEvent { |
| +class BLINK_PLATFORM_EXPORT WebCoalescedInputEvent { |
| public: |
| - explicit WebCoalescedInputEvent(WebScopedInputEvent); |
| explicit WebCoalescedInputEvent(const WebInputEvent&); |
| WebCoalescedInputEvent(const WebInputEvent&, |
| const std::vector<const WebInputEvent*>&); |
| @@ -37,6 +29,15 @@ class BLINK_COMMON_EXPORT WebCoalescedInputEvent { |
| std::vector<const WebInputEvent*> getCoalescedEventsPointers() const; |
| private: |
| + struct WebInputEventDeleter { |
|
Reid Kleckner
2017/02/14 02:14:45
It looks like you need to add BLINK_PLATFORM_EXPOR
dcheng
2017/02/14 02:21:10
I think thakis already submitted a cl for this: ht
|
| + void operator()(blink::WebInputEvent*) const; |
| + }; |
| + |
| + using WebScopedInputEvent = |
| + std::unique_ptr<WebInputEvent, WebInputEventDeleter>; |
| + |
| + WebScopedInputEvent makeWebScopedInputEvent(const blink::WebInputEvent&); |
| + |
| WebScopedInputEvent m_event; |
| std::vector<WebScopedInputEvent> m_coalescedEvents; |
| }; |