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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 5 #ifndef UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 const base::Callback<void(bool)>& on_done) = 0; 141 const base::Callback<void(bool)>& on_done) = 0;
142 142
143 virtual void OnWmCancelMoveLoop(Window* window) = 0; 143 virtual void OnWmCancelMoveLoop(Window* window) = 0;
144 144
145 // Called when then client changes the client area of a window. 145 // Called when then client changes the client area of a window.
146 virtual void OnWmSetClientArea( 146 virtual void OnWmSetClientArea(
147 Window* window, 147 Window* window,
148 const gfx::Insets& insets, 148 const gfx::Insets& insets,
149 const std::vector<gfx::Rect>& additional_client_areas) = 0; 149 const std::vector<gfx::Rect>& additional_client_areas) = 0;
150 150
151 // Returns whether |window| is the current active window.
152 virtual bool IsWindowActive(Window* window) = 0;
153
154 // Called when a client requests that its activation be given to another
155 // window.
156 virtual void OnWmDeactivateWindow(Window* window) = 0;
157
151 protected: 158 protected:
152 virtual ~WindowManagerDelegate() {} 159 virtual ~WindowManagerDelegate() {}
153 }; 160 };
154 161
155 } // namespace ui 162 } // namespace ui
156 163
157 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ 164 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_
OLDNEW
« 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