Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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_ |
| OLD | NEW |