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

Unified Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2171983002: Move processing out of AcceleratorDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wire_up_controller
Patch Set: feedback 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
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index f52b9d9204a215d92a00fddd74376250fa32cd97..c635a13f5de99d9f68ac77d30d80d67667cfde0f 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -352,6 +352,12 @@ WmWindow* WmWindowMus::GetToplevelWindow() {
return WmShellMus::GetToplevelAncestor(window_);
}
+WmWindow* WmWindowMus::GetToplevelWindowForFocus() {
+ // TODO(sky): resolve if we really need two notions of top-level. In the mus
+ // world they are the same.
+ return WmShellMus::GetToplevelAncestor(window_);
+}
+
void WmWindowMus::SetParentUsingContext(WmWindow* context,
const gfx::Rect& screen_bounds) {
wm::GetDefaultParent(context, this, screen_bounds)->AddChild(this);
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698