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 11namespace blink { 12class WebInputEvent; 13} 14 15namespace mojo { 16 17template <> 18struct 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