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

Unified Diff: ui/aura/mus/window_manager_delegate.h

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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 | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_manager_delegate.h
diff --git a/ui/aura/mus/window_manager_delegate.h b/ui/aura/mus/window_manager_delegate.h
index 0dc8d6186712b1d15616733c10b6d871987a1b90..87f907a3575eb9a6e60b6443245675f768cece77 100644
--- a/ui/aura/mus/window_manager_delegate.h
+++ b/ui/aura/mus/window_manager_delegate.h
@@ -148,6 +148,13 @@ class AURA_EXPORT WindowManagerDelegate {
const gfx::Insets& insets,
const std::vector<gfx::Rect>& additional_client_areas) = 0;
+ // Returns whether |window| is the current active window.
+ virtual bool IsWindowActive(Window* window) = 0;
+
+ // Called when a client requests that its activation be given to another
+ // window.
+ virtual void OnWmDeactivateWindow(Window* window) = 0;
+
protected:
virtual ~WindowManagerDelegate() {}
};
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698