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

Side by Side Diff: ash/screen_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/rotator/window_rotation.h ('k') | ash/shell.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 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_SCREEN_UTIL_H_ 5 #ifndef ASH_SCREEN_UTIL_H_
6 #define ASH_SCREEN_UTIL_H_ 6 #define ASH_SCREEN_UTIL_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window; 12 class Window;
13 } 13 }
14 14
15 namespace display {
16 class Display;
17 }
18
19 namespace gfx { 15 namespace gfx {
20 class Rect; 16 class Rect;
21 class Point;
22 } 17 }
23 18
24 namespace ash { 19 namespace ash {
25 20
26 class ASH_EXPORT ScreenUtil { 21 class ASH_EXPORT ScreenUtil {
27 public: 22 public:
28 // Returns the bounds for maximized windows in parent coordinates. 23 // Returns the bounds for maximized windows in parent coordinates.
29 // Maximized windows trigger auto-hiding the shelf. 24 // Maximized windows trigger auto-hiding the shelf.
30 static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window); 25 static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window);
31 26
(...skipping 16 matching lines...) Expand all
48 private: 43 private:
49 ScreenUtil() {} 44 ScreenUtil() {}
50 ~ScreenUtil() {} 45 ~ScreenUtil() {}
51 46
52 DISALLOW_COPY_AND_ASSIGN(ScreenUtil); 47 DISALLOW_COPY_AND_ASSIGN(ScreenUtil);
53 }; 48 };
54 49
55 } // namespace ash 50 } // namespace ash
56 51
57 #endif // ASH_SCREEN_UTIL_H_ 52 #endif // ASH_SCREEN_UTIL_H_
OLDNEW
« no previous file with comments | « ash/rotator/window_rotation.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698