Home | History | Annotate | Download | only in html_viewer
      1 // Copyright 2014 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 MOJO_SERVICES_HTML_VIEWER_BLINK_INPUT_EVENTS_TYPE_CONVERTERS_H_
      6 #define MOJO_SERVICES_HTML_VIEWER_BLINK_INPUT_EVENTS_TYPE_CONVERTERS_H_
      7 
      8 #include "base/memory/scoped_ptr.h"
      9 #include "mojo/services/public/interfaces/input_events/input_events.mojom.h"
     10 
     11 namespace blink {
     12 class WebInputEvent;
     13 }
     14 
     15 namespace mojo {
     16 
     17 template <>
     18 struct TypeConverter<scoped_ptr<blink::WebInputEvent>, EventPtr> {
     19   static scoped_ptr<blink::WebInputEvent> Convert(const EventPtr& input);
     20 };
     21 
     22 }  // namespace mojo
     23 
     24 #endif  // MOJO_SERVICES_HTML_VIEWER_BLINK_INPUT_EVENTS_TYPE_CONVERTERS_H_
     25