| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/workspace/workspace_layout_manager.h" | 5 #include "ash/wm/workspace/workspace_layout_manager.h" |
| 6 | 6 |
| 7 #include "ash/display/display_controller.h" | 7 #include "ash/display/display_controller.h" |
| 8 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
| 9 #include "ash/screen_util.h" | 9 #include "ash/screen_util.h" |
| 10 #include "ash/session_state_delegate.h" | 10 #include "ash/session_state_delegate.h" |
| 11 #include "ash/shelf/shelf_layout_manager.h" | 11 #include "ash/shelf/shelf_layout_manager.h" |
| 12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
| 13 #include "ash/wm/always_on_top_controller.h" | 13 #include "ash/wm/always_on_top_controller.h" |
| 14 #include "ash/wm/window_animations.h" | 14 #include "ash/wm/window_animations.h" |
| 15 #include "ash/wm/window_positioner.h" | 15 #include "ash/wm/window_positioner.h" |
| 16 #include "ash/wm/window_properties.h" | 16 #include "ash/wm/window_properties.h" |
| 17 #include "ash/wm/window_state.h" | 17 #include "ash/wm/window_state.h" |
| 18 #include "ash/wm/window_util.h" | 18 #include "ash/wm/window_util.h" |
| 19 #include "ash/wm/wm_event.h" | 19 #include "ash/wm/wm_event.h" |
| 20 #include "ash/wm/workspace/workspace_layout_manager_delegate.h" | 20 #include "ash/wm/workspace/workspace_layout_manager_delegate.h" |
| 21 #include "ui/aura/client/activation_client.h" | 21 #include "ui/aura/client/activation_client.h" |
| 22 #include "ui/aura/client/aura_constants.h" | 22 #include "ui/aura/client/aura_constants.h" |
| 23 #include "ui/aura/window.h" | 23 #include "ui/aura/window.h" |
| 24 #include "ui/aura/window_observer.h" | 24 #include "ui/aura/window_observer.h" |
| 25 #include "ui/base/ui_base_types.h" | 25 #include "ui/base/ui_base_types.h" |
| 26 #include "ui/compositor/layer.h" | 26 #include "ui/compositor/layer.h" |
| 27 #include "ui/events/event.h" | 27 #include "ui/events/event.h" |
| 28 #include "ui/gfx/screen.h" | 28 #include "ui/gfx/screen.h" |
| 29 #include "ui/views/corewm/window_util.h" | 29 #include "ui/wm/core/window_util.h" |
| 30 | 30 |
| 31 using aura::Window; | 31 using aura::Window; |
| 32 | 32 |
| 33 namespace ash { | 33 namespace ash { |
| 34 | 34 |
| 35 namespace internal { | 35 namespace internal { |
| 36 | 36 |
| 37 WorkspaceLayoutManager::WorkspaceLayoutManager(aura::Window* window) | 37 WorkspaceLayoutManager::WorkspaceLayoutManager(aura::Window* window) |
| 38 : shelf_(NULL), | 38 : shelf_(NULL), |
| 39 window_(window), | 39 window_(window), |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 window_->GetRootWindow())->GetWindowForFullscreenMode() != NULL; | 276 window_->GetRootWindow())->GetWindowForFullscreenMode() != NULL; |
| 277 if (is_fullscreen != is_fullscreen_) { | 277 if (is_fullscreen != is_fullscreen_) { |
| 278 ash::Shell::GetInstance()->NotifyFullscreenStateChange( | 278 ash::Shell::GetInstance()->NotifyFullscreenStateChange( |
| 279 is_fullscreen, window_->GetRootWindow()); | 279 is_fullscreen, window_->GetRootWindow()); |
| 280 is_fullscreen_ = is_fullscreen; | 280 is_fullscreen_ = is_fullscreen; |
| 281 } | 281 } |
| 282 } | 282 } |
| 283 | 283 |
| 284 } // namespace internal | 284 } // namespace internal |
| 285 } // namespace ash | 285 } // namespace ash |
| OLD | NEW |