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

Unified Diff: ash/common/wm_window.h

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/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index 3bfb302a85a4fbaddc16499ab6e4310b04242453..d371caead22e5ad3f4c826a9cfa006a047eb6b7d 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -126,7 +126,11 @@ class ASH_EXPORT WmWindow {
}
virtual const wm::WindowState* GetWindowState() const = 0;
+ // The implementation of this matches aura::Window::GetToplevelWindow().
virtual WmWindow* GetToplevelWindow() = 0;
+ // The implementation of this matches
+ // aura::client::ActivationClient::GetToplevelWindow().
+ virtual WmWindow* GetToplevelWindowForFocus() = 0;
// See aura::client::ParentWindowWithContext() for details of what this does.
virtual void SetParentUsingContext(WmWindow* context,

Powered by Google App Engine
This is Rietveld 408576698