Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1924)

Unified Diff: ash/accelerators/focus_manager_factory.cc

Issue 1622433002: views: Remove unused GetCurrentTargetForAccelerator from FocusManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/accelerators/focus_manager_factory.cc
diff --git a/ash/accelerators/focus_manager_factory.cc b/ash/accelerators/focus_manager_factory.cc
index 0695fd3e7a099318ae1e973ba03899ef78bd4ba2..1c501202a27e327032b3464da198130b1884ce42 100644
--- a/ash/accelerators/focus_manager_factory.cc
+++ b/ash/accelerators/focus_manager_factory.cc
@@ -28,14 +28,4 @@ bool AshFocusManagerFactory::Delegate::ProcessAccelerator(
return false;
}
-ui::AcceleratorTarget*
-AshFocusManagerFactory::Delegate::GetCurrentTargetForAccelerator(
- const ui::Accelerator& accelerator) const {
- AcceleratorController* controller =
- Shell::GetInstance()->accelerator_controller();
- if (controller && controller->IsRegistered(accelerator))
- return controller;
- return NULL;
-}
-
} // namespace ash
« no previous file with comments | « ash/accelerators/focus_manager_factory.h ('k') | chrome/browser/ui/views/find_bar_controller_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698