blob: 40d137bf84b6a2eada692027cbdf4d2a6521c37f [file] [log] [blame]
// Copyright 2015 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.
#include "services/window_manager/window_manager_root.h"
namespace window_manager {
ui::Accelerator WindowManagerRoot::ConvertEventToAccelerator(
const ui::KeyEvent* event) {
return ui::Accelerator(event->key_code(), event->flags());
}
} // namespace window_manager