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

Side by Side Diff: ash/wm/window_state_aura.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/wm/window_state.cc ('k') | ash/wm/window_state_delegate.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 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/window_state_aura.h" 5 #include "ash/wm/window_state_aura.h"
6 6
7 #include "ash/common/wm/window_state.h"
8 #include "ash/common/wm_window.h"
9 #include "ash/wm/window_properties.h" 7 #include "ash/wm/window_properties.h"
8 #include "ash/wm/window_state.h"
10 #include "ash/wm/window_util.h" 9 #include "ash/wm/window_util.h"
10 #include "ash/wm_window.h"
11 #include "ui/aura/window.h" 11 #include "ui/aura/window.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace wm { 14 namespace wm {
15 namespace { 15 namespace {
16 16
17 // This classes is used so that the WindowState constructor can be made 17 // This classes is used so that the WindowState constructor can be made
18 // protected. GetWindowState() is the only place that should be creating 18 // protected. GetWindowState() is the only place that should be creating
19 // WindowState. 19 // WindowState.
20 class WindowStateAura : public wm::WindowState { 20 class WindowStateAura : public wm::WindowState {
(...skipping 22 matching lines...) Expand all
43 } 43 }
44 return settings; 44 return settings;
45 } 45 }
46 46
47 const WindowState* GetWindowState(const aura::Window* window) { 47 const WindowState* GetWindowState(const aura::Window* window) {
48 return GetWindowState(const_cast<aura::Window*>(window)); 48 return GetWindowState(const_cast<aura::Window*>(window));
49 } 49 }
50 50
51 } // namespace wm 51 } // namespace wm
52 } // namespace ash 52 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/window_state.cc ('k') | ash/wm/window_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698