OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/aura_shell/compact_layout_manager.h" | 5 #include "ui/aura_shell/compact_layout_manager.h" |
6 | 6 |
| 7 #include "ash/wm/window_util.h" |
7 #include "ui/aura/client/aura_constants.h" | 8 #include "ui/aura/client/aura_constants.h" |
8 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
9 #include "ui/aura_shell/window_util.h" | |
10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
11 #include "ui/gfx/screen.h" | 11 #include "ui/gfx/screen.h" |
12 | 12 |
13 namespace aura_shell { | 13 namespace aura_shell { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 CompactLayoutManager::CompactLayoutManager() { | 16 CompactLayoutManager::CompactLayoutManager() { |
17 } | 17 } |
18 | 18 |
19 CompactLayoutManager::~CompactLayoutManager() { | 19 CompactLayoutManager::~CompactLayoutManager() { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 void CompactLayoutManager::OnWindowPropertyChanged(aura::Window* window, | 55 void CompactLayoutManager::OnWindowPropertyChanged(aura::Window* window, |
56 const char* name, | 56 const char* name, |
57 void* old) { | 57 void* old) { |
58 if (name == aura::client::kShowStateKey) | 58 if (name == aura::client::kShowStateKey) |
59 UpdateBoundsFromShowState(window); | 59 UpdateBoundsFromShowState(window); |
60 } | 60 } |
61 | 61 |
62 } // namespace internal | 62 } // namespace internal |
63 } // namespace aura_shell | 63 } // namespace aura_shell |
OLD | NEW |