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

Side by Side Diff: ash/snap_to_pixel_layout_manager.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/shell_unittest.cc ('k') | ash/sticky_keys/sticky_keys_controller.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 #include "ash/snap_to_pixel_layout_manager.h" 5 #include "ash/snap_to_pixel_layout_manager.h"
6 6
7 #include "ash/wm/window_properties.h" 7 #include "ash/wm/window_properties.h"
8 #include "ash/wm/window_util.h" 8 #include "ash/wm/window_util.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 SnapToPixelLayoutManager::SnapToPixelLayoutManager(aura::Window* container) { 13 SnapToPixelLayoutManager::SnapToPixelLayoutManager(aura::Window* container) {}
14 }
15 14
16 SnapToPixelLayoutManager::~SnapToPixelLayoutManager() { 15 SnapToPixelLayoutManager::~SnapToPixelLayoutManager() {}
17 }
18 16
19 void SnapToPixelLayoutManager::OnWindowResized() { 17 void SnapToPixelLayoutManager::OnWindowResized() {}
20 }
21 18
22 void SnapToPixelLayoutManager::OnWindowAddedToLayout(aura::Window* child) { 19 void SnapToPixelLayoutManager::OnWindowAddedToLayout(aura::Window* child) {}
23 }
24 20
25 void SnapToPixelLayoutManager::OnWillRemoveWindowFromLayout( 21 void SnapToPixelLayoutManager::OnWillRemoveWindowFromLayout(
26 aura::Window* child) { 22 aura::Window* child) {}
27 }
28 23
29 void SnapToPixelLayoutManager::OnWindowRemovedFromLayout(aura::Window* child) { 24 void SnapToPixelLayoutManager::OnWindowRemovedFromLayout(aura::Window* child) {}
30 }
31 25
32 void SnapToPixelLayoutManager::OnChildWindowVisibilityChanged( 26 void SnapToPixelLayoutManager::OnChildWindowVisibilityChanged(
33 aura::Window* child, 27 aura::Window* child,
34 bool visibile) { 28 bool visibile) {}
35 }
36 29
37 void SnapToPixelLayoutManager::SetChildBounds( 30 void SnapToPixelLayoutManager::SetChildBounds(
38 aura::Window* child, 31 aura::Window* child,
39 const gfx::Rect& requested_bounds) { 32 const gfx::Rect& requested_bounds) {
40 SetChildBoundsDirect(child, requested_bounds); 33 SetChildBoundsDirect(child, requested_bounds);
41 wm::SnapWindowToPixelBoundary(child); 34 wm::SnapWindowToPixelBoundary(child);
42 } 35 }
43 36
44 } // namespace ash 37 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/sticky_keys/sticky_keys_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698