root/content/common/input/scoped_web_input_event.cc

/* [<][>][^][v][top][bottom][index][help] */
// 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

/* [<][>][^][v][top][bottom][index][help] */