| 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/workspace_controller.h" | 5 #include "ui/aura_shell/workspace_controller.h" |
| 6 | 6 |
| 7 #include "ui/aura/desktop.h" | 7 #include "ui/aura/desktop.h" |
| 8 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 #include "ui/aura_shell/default_container_layout_manager.h" | 9 #include "ui/aura_shell/default_container_layout_manager.h" |
| 10 #include "ui/aura_shell/launcher/launcher.h" | 10 #include "ui/aura_shell/launcher/launcher.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 ignore_move_event_ = true; | 73 ignore_move_event_ = true; |
| 74 launcher_model_->Move(start_index, target_index); | 74 launcher_model_->Move(start_index, target_index); |
| 75 ignore_move_event_ = false; | 75 ignore_move_event_ = false; |
| 76 } | 76 } |
| 77 | 77 |
| 78 void WorkspaceController::ActiveWorkspaceChanged(WorkspaceManager* manager, | 78 void WorkspaceController::ActiveWorkspaceChanged(WorkspaceManager* manager, |
| 79 Workspace* old) { | 79 Workspace* old) { |
| 80 // TODO(oshima): Update Launcher and Status area state when the active | 80 // TODO(oshima): Update Launcher and Status area state when the active |
| 81 // workspace's fullscreen state changes. | 81 // workspace's fullscreen state changes. |
| 82 NOTIMPLEMENTED(); | 82 //NOTIMPLEMENTED(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 //////////////////////////////////////////////////////////////////////////////// | 85 //////////////////////////////////////////////////////////////////////////////// |
| 86 // WorkspaceController, aura_shell::LauncherModelObserver overrides: | 86 // WorkspaceController, aura_shell::LauncherModelObserver overrides: |
| 87 | 87 |
| 88 void WorkspaceController::LauncherItemAdded(int index) { | 88 void WorkspaceController::LauncherItemAdded(int index) { |
| 89 } | 89 } |
| 90 | 90 |
| 91 void WorkspaceController::LauncherItemRemoved(int index) { | 91 void WorkspaceController::LauncherItemRemoved(int index) { |
| 92 } | 92 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 106 ignore_move_event_ = true; | 106 ignore_move_event_ = true; |
| 107 workspace_manager_->RotateWindows(start, target); | 107 workspace_manager_->RotateWindows(start, target); |
| 108 ignore_move_event_ = false; | 108 ignore_move_event_ = false; |
| 109 } | 109 } |
| 110 | 110 |
| 111 void WorkspaceController::LauncherItemImagesChanged(int index) { | 111 void WorkspaceController::LauncherItemImagesChanged(int index) { |
| 112 } | 112 } |
| 113 | 113 |
| 114 } // namespace internal | 114 } // namespace internal |
| 115 } // namespace aura_shell | 115 } // namespace aura_shell |
| OLD | NEW |