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

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

Issue 24020002: Move GetRootWindowController() to root_window_controller.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/system_gesture_event_filter.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('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 #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 RootWindow;
14 class Window; 13 class Window;
15 } 14 }
16 15
17 namespace gfx { 16 namespace gfx {
18 class Rect; 17 class Rect;
19 } 18 }
20 19
21 namespace ui { 20 namespace ui {
22 class Event; 21 class Event;
23 class Layer;
24 } 22 }
25 23
26 namespace ash { 24 namespace ash {
27 // We force at least this many DIPs for any window on the screen. 25 // We force at least this many DIPs for any window on the screen.
28 const int kMinimumOnScreenArea = 10; 26 const int kMinimumOnScreenArea = 10;
29 27
30 namespace wm { 28 namespace wm {
31 29
32 // Convenience setters/getters for |aura::client::kRootWindowActiveWindow|. 30 // Convenience setters/getters for |aura::client::kRootWindowActiveWindow|.
33 ASH_EXPORT void ActivateWindow(aura::Window* window); 31 ASH_EXPORT void ActivateWindow(aura::Window* window);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 125
128 // Moves |window| to the root window where the |event| occured if it is not 126 // Moves |window| to the root window where the |event| occured if it is not
129 // already in the same root window. Returns true if |window| was moved. 127 // already in the same root window. Returns true if |window| was moved.
130 ASH_EXPORT bool MoveWindowToEventRoot(aura::Window* window, 128 ASH_EXPORT bool MoveWindowToEventRoot(aura::Window* window,
131 const ui::Event& event); 129 const ui::Event& event);
132 130
133 } // namespace wm 131 } // namespace wm
134 } // namespace ash 132 } // namespace ash
135 133
136 #endif // ASH_WM_WINDOW_UTIL_H_ 134 #endif // ASH_WM_WINDOW_UTIL_H_
OLDNEW
« no previous file with comments | « ash/wm/system_gesture_event_filter.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698