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

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

Issue 10830365: Initial crack at new workspace behavior. Each workspace now has its (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « ash/wm/window_cycle_controller.cc ('k') | ash/wm/workspace/workspace2.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 (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_WINDOW_UTIL_H_ 5 #ifndef ASH_WM_WINDOW_UTIL_H_
6 #define ASH_WM_WINDOW_UTIL_H_ 6 #define ASH_WM_WINDOW_UTIL_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace aura { 10 namespace aura {
11 class RootWindow; 11 class RootWindow;
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 ash { 19 namespace ash {
20 namespace internal {
21 class RootWindowController;
22 }
23 namespace wm { 20 namespace wm {
24 21
25 // Convenience setters/getters for |aura::client::kRootWindowActiveWindow|. 22 // Convenience setters/getters for |aura::client::kRootWindowActiveWindow|.
26 ASH_EXPORT void ActivateWindow(aura::Window* window); 23 ASH_EXPORT void ActivateWindow(aura::Window* window);
27 ASH_EXPORT void DeactivateWindow(aura::Window* window); 24 ASH_EXPORT void DeactivateWindow(aura::Window* window);
28 ASH_EXPORT bool IsActiveWindow(aura::Window* window); 25 ASH_EXPORT bool IsActiveWindow(aura::Window* window);
29 ASH_EXPORT aura::Window* GetActiveWindow(); 26 ASH_EXPORT aura::Window* GetActiveWindow();
30 ASH_EXPORT bool CanActivateWindow(aura::Window* window); 27 ASH_EXPORT bool CanActivateWindow(aura::Window* window);
31 28
32 // Retrieves the activatable window for |window|. If |window| is activatable, 29 // Retrieves the activatable window for |window|. If |window| is activatable,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // children, maintaining the hierarchy. 62 // children, maintaining the hierarchy.
66 ASH_EXPORT ui::Layer* RecreateWindowLayers(aura::Window* window); 63 ASH_EXPORT ui::Layer* RecreateWindowLayers(aura::Window* window);
67 64
68 // Deletes |layer| and all its child layers. 65 // Deletes |layer| and all its child layers.
69 ASH_EXPORT void DeepDeleteLayers(ui::Layer* layer); 66 ASH_EXPORT void DeepDeleteLayers(ui::Layer* layer);
70 67
71 } // namespace wm 68 } // namespace wm
72 } // namespace ash 69 } // namespace ash
73 70
74 #endif // ASH_WM_WINDOW_UTIL_H_ 71 #endif // ASH_WM_WINDOW_UTIL_H_
OLDNEW
« no previous file with comments | « ash/wm/window_cycle_controller.cc ('k') | ash/wm/workspace/workspace2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698