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

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

Issue 594383002: Change behaviour of the Alt-] and Alt-[ keys so that it cycles through SnapLeft/SnapRight to DockLe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event
Patch Set: Address DockLeft/DockRight issues Created 6 years, 2 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
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"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void SnapWindowToPixelBoundary(aura::Window* window); 101 void SnapWindowToPixelBoundary(aura::Window* window);
102 102
103 // Mark the container window so that InstallSnapLayoutManagerToContainers 103 // Mark the container window so that InstallSnapLayoutManagerToContainers
104 // installs the SnapToPixelLayoutManager. 104 // installs the SnapToPixelLayoutManager.
105 ASH_EXPORT void SetSnapsChildrenToPhysicalPixelBoundary( 105 ASH_EXPORT void SetSnapsChildrenToPhysicalPixelBoundary(
106 aura::Window* container); 106 aura::Window* container);
107 107
108 // Traverse the |container| tree and installs SnapToPixelLayoutManager. 108 // Traverse the |container| tree and installs SnapToPixelLayoutManager.
109 void InstallSnapLayoutManagerToContainers(aura::Window* container); 109 void InstallSnapLayoutManagerToContainers(aura::Window* container);
110 110
111 // Dock the given window; reparenting it to the docked container
varkha 2014/09/29 21:04:34 s/Dock/Docks s/given window/|window| nit: period a
112 void DockWindow(aura::Window* window);
113
111 } // namespace wm 114 } // namespace wm
112 } // namespace ash 115 } // namespace ash
113 116
114 #endif // ASH_WM_WINDOW_UTIL_H_ 117 #endif // ASH_WM_WINDOW_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698