Home | History | Annotate | Download | only in input
      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 #include "content/common/input/scoped_web_input_event.h"
      6 
      7 #include "base/logging.h"
      8 #include "content/common/input/web_input_event_traits.h"
      9 #include "third_party/WebKit/public/web/WebInputEvent.h"
     10 
     11 using blink::WebGestureEvent;
     12 using blink::WebInputEvent;
     13 using blink::WebKeyboardEvent;
     14 using blink::WebMouseEvent;
     15 using blink::WebMouseWheelEvent;
     16 using blink::WebTouchEvent;
     17 
     18 namespace content {
     19 
     20 WebInputEventDeleter::WebInputEventDeleter() {}
     21 
     22 void WebInputEventDeleter::operator()(WebInputEvent* web_event) const {
     23   WebInputEventTraits::Delete(web_event);
     24 }
     25 
     26 }  // namespace content
     27