| Index: chrome/browser/ui/ash/ash_util.cc
|
| diff --git a/chrome/browser/ui/ash/ash_util.cc b/chrome/browser/ui/ash/ash_util.cc
|
| index 77ef383bddac3a5919dfdb2baddb44ac1b455d19..451ad3ceda4e820d0e9123c4ab433038bcdf4184 100644
|
| --- a/chrome/browser/ui/ash/ash_util.cc
|
| +++ b/chrome/browser/ui/ash/ash_util.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ash/common/accelerators/accelerator_controller.h"
|
| #include "ash/common/mojo_interface_factory.h"
|
| +#include "ash/public/interfaces/event_properties.mojom.h"
|
| #include "ash/shell.h"
|
| #include "base/macros.h"
|
| #include "build/build_config.h"
|
| @@ -70,4 +71,10 @@ bool IsAcceleratorDeprecated(const ui::Accelerator& accelerator) {
|
| return ash::Shell::Get()->accelerator_controller()->IsDeprecated(accelerator);
|
| }
|
|
|
| +bool WillAshProcessAcceleratorForEvent(const ui::KeyEvent& key_event) {
|
| + return key_event.properties() &&
|
| + key_event.properties()->count(
|
| + ash::mojom::kWillProcessAccelerator_KeyEventProperty);
|
| +}
|
| +
|
| } // namespace ash_util
|
|
|