| 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/toplevel_layout_manager.h" | 5 #include "ui/aura_shell/toplevel_layout_manager.h" |
| 6 | 6 |
| 7 #include "ui/aura/client/aura_constants.h" | 7 #include "ui/aura/client/aura_constants.h" |
| 8 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 #include "ui/aura_shell/property_util.h" | 9 #include "ui/aura_shell/property_util.h" |
| 10 #include "ui/aura_shell/shelf_layout_controller.h" | 10 #include "ui/aura_shell/shelf_layout_manager.h" |
| 11 #include "ui/aura_shell/workspace/workspace.h" | 11 #include "ui/aura_shell/workspace/workspace.h" |
| 12 #include "ui/aura_shell/workspace/workspace_manager.h" | 12 #include "ui/aura_shell/workspace/workspace_manager.h" |
| 13 #include "ui/base/ui_base_types.h" | 13 #include "ui/base/ui_base_types.h" |
| 14 #include "ui/gfx/screen.h" | 14 #include "ui/gfx/screen.h" |
| 15 | 15 |
| 16 namespace aura_shell { | 16 namespace aura_shell { |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 ToplevelLayoutManager::ToplevelLayoutManager() : shelf_(NULL) { | 19 ToplevelLayoutManager::ToplevelLayoutManager() : shelf_(NULL) { |
| 20 } | 20 } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 ui::SHOW_STATE_FULLSCREEN) { | 96 ui::SHOW_STATE_FULLSCREEN) { |
| 97 has_fullscreen_window = true; | 97 has_fullscreen_window = true; |
| 98 break; | 98 break; |
| 99 } | 99 } |
| 100 } | 100 } |
| 101 shelf_->SetVisible(!has_fullscreen_window); | 101 shelf_->SetVisible(!has_fullscreen_window); |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // namespace internal | 104 } // namespace internal |
| 105 } // namespace aura_shell | 105 } // namespace aura_shell |
| OLD | NEW |