Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / mojo / converters / input_events / mojo_extended_key_event_data.cc
blob8a605dcf27a1e9d1b6d6e676c4f2386461bb8d13
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.
5 #include "mojo/converters/input_events/mojo_extended_key_event_data.h"
7 namespace mojo {
9 MojoExtendedKeyEventData::MojoExtendedKeyEventData(int32_t windows_key_code,
10 uint16_t text,
11 uint16_t unmodified_text)
12 : windows_key_code_(windows_key_code),
13 text_(text),
14 unmodified_text_(unmodified_text) {
17 MojoExtendedKeyEventData::~MojoExtendedKeyEventData() {}
19 ui::ExtendedKeyEventData* MojoExtendedKeyEventData::Clone() const {
20 return new MojoExtendedKeyEventData(windows_key_code_,
21 text_,
22 unmodified_text_);
25 } // namespace mojo