blob: 2f46479d4f3e7a080739162b56cd415351dc1e4b [file] [log] [blame]
// Copyright (c) 2019 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.
#ifndef ASH_KEYBOARD_KEYBOARD_UTIL_H_
#define ASH_KEYBOARD_KEYBOARD_UTIL_H_
#include "ash/ash_export.h"
#include "ui/events/keycodes/keyboard_codes.h"
namespace ash {
namespace keyboard_util {
// Returns whether the given key code corresponds to one of the 4 arrow keys.
ASH_EXPORT bool IsArrowKeyCode(const ui::KeyboardCode key_code);
} // namespace keyboard_util
} // namespace ash
#endif // ASH_KEYBOARD_KEYBOARD_UTIL_H_