blob: 442239c04c6c2e57b3e95a854e936a7e8edb2500 [file] [log] [blame]
// Copyright 2014 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.
#ifndef MOJO_SERVICES_HTML_VIEWER_BLINK_INPUT_EVENTS_TYPE_CONVERTERS_H_
#define MOJO_SERVICES_HTML_VIEWER_BLINK_INPUT_EVENTS_TYPE_CONVERTERS_H_
#include "base/memory/scoped_ptr.h"
#include "third_party/mojo_services/src/input_events/public/interfaces/input_events.mojom.h"
namespace blink {
class WebInputEvent;
}
namespace mojo {
template <>
struct TypeConverter<scoped_ptr<blink::WebInputEvent>, EventPtr> {
static scoped_ptr<blink::WebInputEvent> Convert(const EventPtr& input);
};
} // namespace mojo
#endif // MOJO_SERVICES_HTML_VIEWER_BLINK_INPUT_EVENTS_TYPE_CONVERTERS_H_