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

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

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « ash/wm/window_properties.h ('k') | no next file » | 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 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
11 11
12 namespace aura { 12 namespace aura {
13 class Window; 13 class Window;
14 } 14 }
15 15
16 namespace gfx {
17 class Point;
18 class Rect;
19 class Size;
20 }
21
22 namespace ui { 16 namespace ui {
23 class Event; 17 class Event;
24 } 18 }
25 19
26 namespace ash { 20 namespace ash {
27 21
28 class WmWindow;
29
30 namespace wm { 22 namespace wm {
31 23
32 // Utility functions for window activation. 24 // Utility functions for window activation.
33 ASH_EXPORT void ActivateWindow(aura::Window* window); 25 ASH_EXPORT void ActivateWindow(aura::Window* window);
34 ASH_EXPORT void DeactivateWindow(aura::Window* window); 26 ASH_EXPORT void DeactivateWindow(aura::Window* window);
35 ASH_EXPORT bool IsActiveWindow(aura::Window* window); 27 ASH_EXPORT bool IsActiveWindow(aura::Window* window);
36 ASH_EXPORT aura::Window* GetActiveWindow(); 28 ASH_EXPORT aura::Window* GetActiveWindow();
37 ASH_EXPORT bool CanActivateWindow(aura::Window* window); 29 ASH_EXPORT bool CanActivateWindow(aura::Window* window);
38 30
39 // Retrieves the activatable window for |window|. If |window| is activatable, 31 // Retrieves the activatable window for |window|. If |window| is activatable,
(...skipping 19 matching lines...) Expand all
59 51
60 // Mark the container window so that InstallSnapLayoutManagerToContainers 52 // Mark the container window so that InstallSnapLayoutManagerToContainers
61 // installs the SnapToPixelLayoutManager. 53 // installs the SnapToPixelLayoutManager.
62 ASH_EXPORT void SetSnapsChildrenToPhysicalPixelBoundary( 54 ASH_EXPORT void SetSnapsChildrenToPhysicalPixelBoundary(
63 aura::Window* container); 55 aura::Window* container);
64 56
65 } // namespace wm 57 } // namespace wm
66 } // namespace ash 58 } // namespace ash
67 59
68 #endif // ASH_WM_WINDOW_UTIL_H_ 60 #endif // ASH_WM_WINDOW_UTIL_H_
OLDNEW
« no previous file with comments | « ash/wm/window_properties.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698