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/input_event.h"
6
7#include "content/common/input/web_input_event_traits.h"
8
9namespace content {
10
11InputEvent::InputEvent() : is_keyboard_shortcut(false) {}
12
13InputEvent::InputEvent(const blink::WebInputEvent& web_event,
14                       const ui::LatencyInfo& latency_info,
15                       bool is_keyboard_shortcut)
16     : web_event(WebInputEventTraits::Clone(web_event)),
17       latency_info(latency_info),
18       is_keyboard_shortcut(is_keyboard_shortcut) {}
19
20InputEvent::~InputEvent() {}
21
22}  // namespace content
23