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 #ifndef UI_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_
6 #define UI_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_
8 #include "base/basictypes.h"
9 #include "content/public/browser/native_web_keyboard_event.h"
10 #include "ui/base/accelerators/accelerator.h"
14 // Returns |event| as a ui::Accelerator.
15 ui::Accelerator
GetAcceleratorFromNativeWebKeyboardEvent(
16 const content::NativeWebKeyboardEvent
& event
);
20 #endif // UI_CONTENT_ACCELERATORS_ACCELERATOR_UTIL_H_