// Copyright 2018 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_BASE_ACCELERATORS_TEST_ACCELERATOR_TARGET_H_ #define UI_BASE_ACCELERATORS_TEST_ACCELERATOR_TARGET_H_ #include "ui/base/accelerators/accelerator.h" namespace ui { // AcceleratorTarget implementation suitable for tests. Tracks calls to // AcceleratorPressed() and allows for configuration of values returned by // various functions. class TestAcceleratorTarget : public AcceleratorTarget { … }; } // namespace ui #endif // UI_BASE_ACCELERATORS_TEST_ACCELERATOR_TARGET_H_