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

Side by Side Diff: ash/aura/aura_layout_manager_adapter.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests 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
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 #include "ash/wm/aura/aura_layout_manager_adapter.h" 5 #include "ash/aura/aura_layout_manager_adapter.h"
6 6
7 #include "ash/common/wm/wm_layout_manager.h" 7 #include "ash/aura/wm_window_aura.h"
8 #include "ash/wm/aura/wm_window_aura.h" 8 #include "ash/common/wm_layout_manager.h"
9 9
10 namespace ash { 10 namespace ash {
11 namespace wm {
12 11
13 AuraLayoutManagerAdapter::AuraLayoutManagerAdapter( 12 AuraLayoutManagerAdapter::AuraLayoutManagerAdapter(
14 std::unique_ptr<WmLayoutManager> wm_layout_manager) 13 std::unique_ptr<WmLayoutManager> wm_layout_manager)
15 : wm_layout_manager_(std::move(wm_layout_manager)) {} 14 : wm_layout_manager_(std::move(wm_layout_manager)) {}
16 15
17 AuraLayoutManagerAdapter::~AuraLayoutManagerAdapter() {} 16 AuraLayoutManagerAdapter::~AuraLayoutManagerAdapter() {}
18 17
19 void AuraLayoutManagerAdapter::OnWindowResized() { 18 void AuraLayoutManagerAdapter::OnWindowResized() {
20 wm_layout_manager_->OnWindowResized(); 19 wm_layout_manager_->OnWindowResized();
21 } 20 }
(...skipping 18 matching lines...) Expand all
40 visible); 39 visible);
41 } 40 }
42 41
43 void AuraLayoutManagerAdapter::SetChildBounds( 42 void AuraLayoutManagerAdapter::SetChildBounds(
44 aura::Window* child, 43 aura::Window* child,
45 const gfx::Rect& requested_bounds) { 44 const gfx::Rect& requested_bounds) {
46 wm_layout_manager_->SetChildBounds(WmWindowAura::Get(child), 45 wm_layout_manager_->SetChildBounds(WmWindowAura::Get(child),
47 requested_bounds); 46 requested_bounds);
48 } 47 }
49 48
50 } // namespace wm
51 } // namespace ash 49 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698