Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: ui/events/blink/scoped_web_input_event.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
6 #define UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
7
8 #include <memory>
9
10 namespace blink {
11 class WebInputEvent;
12 }
13
14 namespace ui {
15
16 // blink::WebInputEvent does not provide a virtual destructor.
17 struct WebInputEventDeleter {
18 WebInputEventDeleter();
19 void operator()(blink::WebInputEvent* web_event) const;
20 };
21 typedef std::unique_ptr<blink::WebInputEvent, WebInputEventDeleter>
22 ScopedWebInputEvent;
23
24 } // namespace ui
25
26 #endif // UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698