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

Side by Side Diff: ash/wm/common/wm_snap_to_pixel_layout_manager.cc

Issue 2030593002: Renames ash/wm/common into ash/common/wm (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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ash/wm/common/wm_snap_to_pixel_layout_manager.h"
6
7 #include "ash/wm/common/wm_window.h"
8
9 namespace ash {
10 namespace wm {
11
12 WmSnapToPixelLayoutManager::WmSnapToPixelLayoutManager() {}
13
14 WmSnapToPixelLayoutManager::~WmSnapToPixelLayoutManager() {}
15
16 void WmSnapToPixelLayoutManager::OnWindowResized() {}
17
18 void WmSnapToPixelLayoutManager::OnWindowAddedToLayout(WmWindow* child) {}
19
20 void WmSnapToPixelLayoutManager::OnWillRemoveWindowFromLayout(WmWindow* child) {
21 }
22
23 void WmSnapToPixelLayoutManager::OnWindowRemovedFromLayout(WmWindow* child) {}
24
25 void WmSnapToPixelLayoutManager::OnChildWindowVisibilityChanged(WmWindow* child,
26 bool visibile) {
27 }
28
29 void WmSnapToPixelLayoutManager::SetChildBounds(
30 WmWindow* child,
31 const gfx::Rect& requested_bounds) {
32 child->SetBoundsDirect(requested_bounds);
33 child->SnapToPixelBoundaryIfNecessary();
34 }
35
36 } // namespace wm
37 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/common/wm_snap_to_pixel_layout_manager.h ('k') | ash/wm/common/wm_toplevel_window_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698