Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / common / input / scoped_web_input_event.cc
blob8cd6e8a386236c78bc6ec682d3815504441081c7
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.
5 #include "content/common/input/scoped_web_input_event.h"
7 #include "base/logging.h"
8 #include "content/common/input/web_input_event_traits.h"
9 #include "third_party/WebKit/public/web/WebInputEvent.h"
11 using blink::WebGestureEvent;
12 using blink::WebInputEvent;
13 using blink::WebKeyboardEvent;
14 using blink::WebMouseEvent;
15 using blink::WebMouseWheelEvent;
16 using blink::WebTouchEvent;
18 namespace content {
20 WebInputEventDeleter::WebInputEventDeleter() {}
22 void WebInputEventDeleter::operator()(WebInputEvent* web_event) const {
23 WebInputEventTraits::Delete(web_event);
26 } // namespace content