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

Side by Side Diff: ash/wm/maximize_mode/workspace_backdrop_delegate.h

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_ 5 #ifndef ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_
6 #define ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_ 6 #define ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 14 matching lines...) Expand all
25 // A background which gets created for a container |window| and which gets 25 // A background which gets created for a container |window| and which gets
26 // stacked behind the topmost window (within that container) covering the 26 // stacked behind the topmost window (within that container) covering the
27 // entire container. 27 // entire container.
28 class ASH_EXPORT WorkspaceBackdropDelegate 28 class ASH_EXPORT WorkspaceBackdropDelegate
29 : public WorkspaceLayoutManagerBackdropDelegate { 29 : public WorkspaceLayoutManagerBackdropDelegate {
30 public: 30 public:
31 explicit WorkspaceBackdropDelegate(aura::Window* container); 31 explicit WorkspaceBackdropDelegate(aura::Window* container);
32 ~WorkspaceBackdropDelegate() override; 32 ~WorkspaceBackdropDelegate() override;
33 33
34 // WorkspaceLayoutManagerBackdropDelegate overrides: 34 // WorkspaceLayoutManagerBackdropDelegate overrides:
35 void OnWindowAddedToLayout(wm::WmWindow* child) override; 35 void OnWindowAddedToLayout(WmWindow* child) override;
36 void OnWindowRemovedFromLayout(wm::WmWindow* child) override; 36 void OnWindowRemovedFromLayout(WmWindow* child) override;
37 void OnChildWindowVisibilityChanged(wm::WmWindow* child, 37 void OnChildWindowVisibilityChanged(WmWindow* child, bool visible) override;
38 bool visible) override; 38 void OnWindowStackingChanged(WmWindow* window) override;
39 void OnWindowStackingChanged(wm::WmWindow* window) override;
40 void OnPostWindowStateTypeChange(wm::WindowState* window_state, 39 void OnPostWindowStateTypeChange(wm::WindowState* window_state,
41 wm::WindowStateType old_type) override; 40 wm::WindowStateType old_type) override;
42 void OnDisplayWorkAreaInsetsChanged() override; 41 void OnDisplayWorkAreaInsetsChanged() override;
43 42
44 private: 43 private:
45 class WindowObserverImpl; 44 class WindowObserverImpl;
46 45
47 // Restack the backdrop relatively to the other windows in the container. 46 // Restack the backdrop relatively to the other windows in the container.
48 void RestackBackdrop(); 47 void RestackBackdrop();
49 48
(...skipping 16 matching lines...) Expand all
66 65
67 // If true, the |RestackOrHideWindow| might recurse. 66 // If true, the |RestackOrHideWindow| might recurse.
68 bool in_restacking_; 67 bool in_restacking_;
69 68
70 DISALLOW_COPY_AND_ASSIGN(WorkspaceBackdropDelegate); 69 DISALLOW_COPY_AND_ASSIGN(WorkspaceBackdropDelegate);
71 }; 70 };
72 71
73 } // namespace ash 72 } // namespace ash
74 73
75 #endif // ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_ 74 #endif // ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698