| 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 3b72621e6afeb8b1d4cb34445cb304912b0ae17b..775003f0e7e71e714bab505c7ae78b5103caf648 100644
|
| --- a/chrome/browser/ui/ash/ash_util.cc
|
| +++ b/chrome/browser/ui/ash/ash_util.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/ui/ash/ash_util.h"
|
|
|
| +#include "ash/accelerators/accelerator_controller.h"
|
| #include "ash/shell.h"
|
| #include "chrome/browser/ui/ash/ash_init.h"
|
| #include "chrome/browser/ui/host_desktop.h"
|
| @@ -50,4 +51,10 @@ bool IsNativeWindowInAsh(gfx::NativeWindow native_window) {
|
| return IsNativeViewInAsh(native_window);
|
| }
|
|
|
| +bool IsAcceleratorDeprecated(const ui::Accelerator& accelerator) {
|
| + ash::AcceleratorController* controller =
|
| + ash::Shell::GetInstance()->accelerator_controller();
|
| + return controller->IsDeprecated(accelerator);
|
| +}
|
| +
|
| } // namespace chrome
|
|
|