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

Side by Side Diff: ash/wm/common/workspace/workspace_layout_manager_backdrop_delegate.h

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_
6 #define ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/wm/common/wm_types.h"
10
11 namespace ash {
12 namespace wm {
13 class WindowState;
14 class WmWindow;
15 }
16
17 // A delegate which can be set to create and control a backdrop which gets
18 // placed below the top level window.
19 class ASH_EXPORT WorkspaceLayoutManagerBackdropDelegate {
20 public:
21 virtual ~WorkspaceLayoutManagerBackdropDelegate() {}
22
23 // A window got added to the layout.
24 virtual void OnWindowAddedToLayout(wm::WmWindow* child) = 0;
25
26 // A window got removed from the layout.
27 virtual void OnWindowRemovedFromLayout(wm::WmWindow* child) = 0;
28
29 // The visibility of a window has changed.
30 virtual void OnChildWindowVisibilityChanged(wm::WmWindow* child,
31 bool visible) = 0;
32
33 // The stacking order of a window has changed.
34 virtual void OnWindowStackingChanged(wm::WmWindow* window) = 0;
35
36 // A window state type has changed.
37 virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state,
38 wm::WindowStateType old_type) = 0;
39
40 // The work area insets have changed, altering the total available space.
41 virtual void OnDisplayWorkAreaInsetsChanged() = 0;
42 };
43
44 } // namespace ash
45
46 #endif // ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_BACKDROP_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/wm/common/workspace/workspace_layout_manager.cc ('k') | ash/wm/common/workspace/workspace_layout_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698