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

Unified Diff: ash/accelerators/accelerator_delegate.cc

Issue 2901413005: [mus+ash] Removes WmWindow from ash/accelerators (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/accelerators (rebased) Created 3 years, 7 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
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_delegate.cc
diff --git a/ash/accelerators/accelerator_delegate.cc b/ash/accelerators/accelerator_delegate.cc
index d2c252fba55c661a506ba916392e3e98dfa2fd74..762ed1022028c3ef7049c42c24fd533998f497a6 100644
--- a/ash/accelerators/accelerator_delegate.cc
+++ b/ash/accelerators/accelerator_delegate.cc
@@ -5,7 +5,6 @@
#include "ash/accelerators/accelerator_delegate.h"
#include "ash/accelerators/accelerator_router.h"
-#include "ash/wm_window.h"
#include "ui/aura/window.h"
#include "ui/events/event.h"
@@ -19,8 +18,7 @@ bool AcceleratorDelegate::ProcessAccelerator(
const ui::KeyEvent& key_event,
const ui::Accelerator& accelerator) {
return router_->ProcessAccelerator(
- WmWindow::Get(static_cast<aura::Window*>(key_event.target())), key_event,
- accelerator);
+ static_cast<aura::Window*>(key_event.target()), key_event, accelerator);
}
} // namespace ash
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698