summaryrefslogtreecommitdiff
path: root/chromium/content/common/input/scoped_web_input_event.cc
blob: 8cd6e8a386236c78bc6ec682d3815504441081c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/common/input/scoped_web_input_event.h"

#include "base/logging.h"
#include "content/common/input/web_input_event_traits.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"

using blink::WebGestureEvent;
using blink::WebInputEvent;
using blink::WebKeyboardEvent;
using blink::WebMouseEvent;
using blink::WebMouseWheelEvent;
using blink::WebTouchEvent;

namespace content {

WebInputEventDeleter::WebInputEventDeleter() {}

void WebInputEventDeleter::operator()(WebInputEvent* web_event) const {
  WebInputEventTraits::Delete(web_event);
}

}  // namespace content