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

Side by Side Diff: ash/wm/workspace_controller.h

Issue 169643005: Adding a gray semi transparent backdrop behind the topmost window within the default container (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit tests Created 6 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WORKSPACE_CONTROLLER_H_ 5 #ifndef ASH_WM_WORKSPACE_CONTROLLER_H_
6 #define ASH_WM_WORKSPACE_CONTROLLER_H_ 6 #define ASH_WM_WORKSPACE_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/workspace/workspace_types.h" 9 #include "ash/wm/workspace/workspace_types.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 19 matching lines...) Expand all
30 virtual ~WorkspaceController(); 30 virtual ~WorkspaceController();
31 31
32 // Returns the current window state. 32 // Returns the current window state.
33 WorkspaceWindowState GetWindowState() const; 33 WorkspaceWindowState GetWindowState() const;
34 34
35 void SetShelf(ShelfLayoutManager* shelf); 35 void SetShelf(ShelfLayoutManager* shelf);
36 36
37 // Starts the animation that occurs on first login. 37 // Starts the animation that occurs on first login.
38 void DoInitialAnimation(); 38 void DoInitialAnimation();
39 39
40 // Add a backdrop behind the top window of the default workspace.
41 void AddBackdropBehindTopWindow(bool enable);
42
40 private: 43 private:
41 friend class WorkspaceControllerTestHelper; 44 friend class WorkspaceControllerTestHelper;
42 45
43 aura::Window* viewport_; 46 aura::Window* viewport_;
44 47
45 internal::ShelfLayoutManager* shelf_; 48 internal::ShelfLayoutManager* shelf_;
46 scoped_ptr<internal::WorkspaceEventHandler> event_handler_; 49 scoped_ptr<internal::WorkspaceEventHandler> event_handler_;
47 internal::WorkspaceLayoutManager* layout_manager_; 50 internal::WorkspaceLayoutManager* layout_manager_;
48 51
49 DISALLOW_COPY_AND_ASSIGN(WorkspaceController); 52 DISALLOW_COPY_AND_ASSIGN(WorkspaceController);
50 }; 53 };
51 54
52 } // namespace internal 55 } // namespace internal
53 } // namespace ash 56 } // namespace ash
54 57
55 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_ 58 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698