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

Unified Diff: ash/aura/wm_window_aura.cc

Issue 2171983002: Move processing out of AcceleratorDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wire_up_controller
Patch Set: not relative Created 4 years, 5 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/aura/wm_window_aura.cc
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
index 3717e007faa90c7a991f1cda33c240e5b45606c0..f3345f9b71b796f7996e6e73f0d8c68021806c76 100644
--- a/ash/aura/wm_window_aura.cc
+++ b/ash/aura/wm_window_aura.cc
@@ -286,6 +286,10 @@ WmWindow* WmWindowAura::GetToplevelWindow() {
return Get(window_->GetToplevelWindow());
}
+WmWindow* WmWindowAura::GetToplevelWindowForFocus() {
+ return Get(::wm::GetToplevelWindow(window_));
+}
+
void WmWindowAura::SetParentUsingContext(WmWindow* context,
const gfx::Rect& screen_bounds) {
aura::client::ParentWindowWithContext(window_, GetAuraWindow(context),

Powered by Google App Engine
This is Rietveld 408576698