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

Side by Side Diff: ash/common/wm_window.h

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move comment Created 4 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
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/DEPS » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_COMMON_WM_WINDOW_H_ 5 #ifndef ASH_COMMON_WM_WINDOW_H_
6 #define ASH_COMMON_WM_WINDOW_H_ 6 #define ASH_COMMON_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 21 matching lines...) Expand all
32 class Layer; 32 class Layer;
33 } 33 }
34 34
35 namespace views { 35 namespace views {
36 class View; 36 class View;
37 class Widget; 37 class Widget;
38 } 38 }
39 39
40 namespace ash { 40 namespace ash {
41 41
42 class ImmersiveFullscreenController;
42 struct ShelfItemDetails; 43 struct ShelfItemDetails;
43 class WmLayoutManager; 44 class WmLayoutManager;
44 class WmRootWindowController; 45 class WmRootWindowController;
45 class WmShell; 46 class WmShell;
46 class WmImmersiveFullscreenController;
47 class WmTransientWindowObserver; 47 class WmTransientWindowObserver;
48 class WmWindowObserver; 48 class WmWindowObserver;
49 enum class WmWindowProperty; 49 enum class WmWindowProperty;
50 50
51 namespace wm { 51 namespace wm {
52 class WindowState; 52 class WindowState;
53 } 53 }
54 54
55 // This class exists as a porting layer to allow ash/wm to work with 55 // This class exists as a porting layer to allow ash/wm to work with
56 // aura::Window or ui::Window. See aura::Window for details on the functions. 56 // aura::Window or ui::Window. See aura::Window for details on the functions.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 virtual Windows GetChildren() = 0; 266 virtual Windows GetChildren() = 0;
267 267
268 // Shows/hides the resize shadow. |component| is the component to show the 268 // Shows/hides the resize shadow. |component| is the component to show the
269 // shadow for (one of the constants in ui/base/hit_test.h). 269 // shadow for (one of the constants in ui/base/hit_test.h).
270 virtual void ShowResizeShadow(int component) = 0; 270 virtual void ShowResizeShadow(int component) = 0;
271 virtual void HideResizeShadow() = 0; 271 virtual void HideResizeShadow() = 0;
272 272
273 // Installs a resize handler on the window that makes it easier to resize 273 // Installs a resize handler on the window that makes it easier to resize
274 // the window. See ResizeHandleWindowTargeter for the specifics. 274 // the window. See ResizeHandleWindowTargeter for the specifics.
275 virtual void InstallResizeHandleWindowTargeter( 275 virtual void InstallResizeHandleWindowTargeter(
276 WmImmersiveFullscreenController* immersive_fullscreen_controller) = 0; 276 ImmersiveFullscreenController* immersive_fullscreen_controller) = 0;
277 277
278 // See description in SetBoundsInScreen(). 278 // See description in SetBoundsInScreen().
279 virtual void SetBoundsInScreenBehaviorForChildren(BoundsInScreenBehavior) = 0; 279 virtual void SetBoundsInScreenBehaviorForChildren(BoundsInScreenBehavior) = 0;
280 280
281 // See description of SnapToPixelBoundaryIfNecessary(). 281 // See description of SnapToPixelBoundaryIfNecessary().
282 virtual void SetSnapsChildrenToPhysicalPixelBoundary() = 0; 282 virtual void SetSnapsChildrenToPhysicalPixelBoundary() = 0;
283 283
284 // If an ancestor has been set to snap children to pixel boundaries, then 284 // If an ancestor has been set to snap children to pixel boundaries, then
285 // snaps the layer associated with this window to the layer associated with 285 // snaps the layer associated with this window to the layer associated with
286 // the ancestor. 286 // the ancestor.
(...skipping 25 matching lines...) Expand all
312 virtual void AddLimitedPreTargetHandler(ui::EventHandler* handler) = 0; 312 virtual void AddLimitedPreTargetHandler(ui::EventHandler* handler) = 0;
313 virtual void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) = 0; 313 virtual void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) = 0;
314 314
315 protected: 315 protected:
316 virtual ~WmWindow() {} 316 virtual ~WmWindow() {}
317 }; 317 };
318 318
319 } // namespace ash 319 } // namespace ash
320 320
321 #endif // ASH_COMMON_WM_WINDOW_H_ 321 #endif // ASH_COMMON_WM_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698