| Index: ash/common/accelerators/accelerator_controller.h
|
| diff --git a/ash/common/accelerators/accelerator_controller.h b/ash/common/accelerators/accelerator_controller.h
|
| index 38b9007edbebd90702c6fd39435788865b64e1ff..8daadfe4c8f537cdb87db323a7c99519076d1149 100644
|
| --- a/ash/common/accelerators/accelerator_controller.h
|
| +++ b/ash/common/accelerators/accelerator_controller.h
|
| @@ -165,6 +165,17 @@ class ASH_EXPORT AcceleratorController
|
| AcceleratorProcessingRestriction GetAcceleratorProcessingRestriction(
|
| int action);
|
|
|
| + // If |accelerator| is a deprecated accelerator, it performs the appropriate
|
| + // deprecated accelerator pre-handling.
|
| + // Returns PROCEED if the accelerator's action should be performed (i.e. if
|
| + // |accelerator| is not a deprecated accelerator, or it's an enabled
|
| + // deprecated accelerator), and STOP otherwise (if the accelerator is a
|
| + // disabled deprecated accelerator).
|
| + enum class AcceleratorProcessingStatus { PROCEED, STOP };
|
| + AcceleratorProcessingStatus MaybeDeprecatedAcceleratorPressed(
|
| + AcceleratorAction action,
|
| + const ui::Accelerator& accelerator) const;
|
| +
|
| AcceleratorControllerDelegate* delegate_;
|
|
|
| std::unique_ptr<ui::AcceleratorManager> accelerator_manager_;
|
|
|