blob: e5b8fcd578d67c6146081d48429156eaaa6c9698 [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_
#define UI_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_
#include "content/public/common/input/native_web_keyboard_event.h"
#include "ui/base/accelerators/accelerator.h"
namespace ui {
// Returns |event| as a ui::Accelerator.
ui::Accelerator GetAcceleratorFromNativeWebKeyboardEvent(
const content::NativeWebKeyboardEvent& event);
} // namespace ui
#endif // UI_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_