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

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

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 "ash/wm/workspace/workspace_layout_manager_delegate.h" 8 #include "ash/wm/workspace/workspace_layout_manager_delegate.h"
9 #include "ui/aura/window_observer.h" 9 #include "ui/aura/window_observer.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window; 12 class Window;
13 } 13 }
14 14
15 namespace ui { 15 namespace ui {
16 class Layer; 16 class Layer;
17 } 17 }
18 18
19 namespace views { 19 namespace views {
20 class Widget; 20 class Widget;
21 } 21 }
22 22
23 namespace ash { 23 namespace ash {
24 24
25 namespace internal {
26
27 // 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
28 // stacked behind the topmost window (within that container) covering the 26 // stacked behind the topmost window (within that container) covering the
29 // entire container. 27 // entire container.
30 class WorkspaceBackdropDelegate : public aura::WindowObserver, 28 class WorkspaceBackdropDelegate : public aura::WindowObserver,
31 public WorkspaceLayoutManagerDelegate { 29 public WorkspaceLayoutManagerDelegate {
32 public: 30 public:
33 explicit WorkspaceBackdropDelegate(aura::Window* container); 31 explicit WorkspaceBackdropDelegate(aura::Window* container);
34 virtual ~WorkspaceBackdropDelegate(); 32 virtual ~WorkspaceBackdropDelegate();
35 33
36 // WindowObserver overrides: 34 // WindowObserver overrides:
(...skipping 29 matching lines...) Expand all
66 64
67 // The window which is being "maximized". 65 // The window which is being "maximized".
68 aura::Window* container_; 66 aura::Window* container_;
69 67
70 // If true, the |RestackOrHideWindow| might recurse. 68 // If true, the |RestackOrHideWindow| might recurse.
71 bool in_restacking_; 69 bool in_restacking_;
72 70
73 DISALLOW_COPY_AND_ASSIGN(WorkspaceBackdropDelegate); 71 DISALLOW_COPY_AND_ASSIGN(WorkspaceBackdropDelegate);
74 }; 72 };
75 73
76 } // namespace internal
77
78 } // namespace ash 74 } // namespace ash
79 75
80 #endif // ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_ 76 #endif // ASH_WM_MAXIMIZE_MODE_WORKSPACE_BACKDROP_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_state.cc ('k') | ash/wm/maximize_mode/workspace_backdrop_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698