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

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

Issue 9035001: Move some more WM functionality down into ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/workspace_controller.h ('k') | ash/wm/workspace_controller_unittest.cc » ('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 (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 "ash/wm/workspace_controller.h"
6 6
7 #include "ash/wm/default_container_layout_manager.h"
8 #include "ash/wm/window_util.h"
9 #include "ash/wm/workspace/workspace.h"
10 #include "ash/wm/workspace/workspace_manager.h"
7 #include "ui/aura/client/activation_client.h" 11 #include "ui/aura/client/activation_client.h"
8 #include "ui/aura/client/aura_constants.h" 12 #include "ui/aura/client/aura_constants.h"
9 #include "ui/aura/root_window.h" 13 #include "ui/aura/root_window.h"
10 #include "ui/aura/window.h" 14 #include "ui/aura/window.h"
11 #include "ui/aura_shell/default_container_layout_manager.h"
12 #include "ui/aura_shell/launcher/launcher.h" 15 #include "ui/aura_shell/launcher/launcher.h"
13 #include "ui/aura_shell/launcher/launcher_model.h" 16 #include "ui/aura_shell/launcher/launcher_model.h"
14 #include "ui/aura_shell/shell.h" 17 #include "ui/aura_shell/shell.h"
15 #include "ui/aura_shell/window_util.h"
16 #include "ui/aura_shell/workspace/workspace.h"
17 #include "ui/aura_shell/workspace/workspace_manager.h"
18 18
19 namespace aura_shell { 19 namespace aura_shell {
20 namespace internal { 20 namespace internal {
21 21
22 WorkspaceController::WorkspaceController(aura::Window* viewport) 22 WorkspaceController::WorkspaceController(aura::Window* viewport)
23 : workspace_manager_(new WorkspaceManager(viewport)), 23 : workspace_manager_(new WorkspaceManager(viewport)),
24 launcher_model_(NULL), 24 launcher_model_(NULL),
25 ignore_move_event_(false) { 25 ignore_move_event_(false) {
26 workspace_manager_->AddObserver(this); 26 workspace_manager_->AddObserver(this);
27 aura::RootWindow::GetInstance()->AddRootWindowObserver(this); 27 aura::RootWindow::GetInstance()->AddRootWindowObserver(this);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 ignore_move_event_ = true; 118 ignore_move_event_ = true;
119 workspace_manager_->RotateWindows(start, target); 119 workspace_manager_->RotateWindows(start, target);
120 ignore_move_event_ = false; 120 ignore_move_event_ = false;
121 } 121 }
122 122
123 void WorkspaceController::LauncherItemImagesChanged(int index) { 123 void WorkspaceController::LauncherItemImagesChanged(int index) {
124 } 124 }
125 125
126 } // namespace internal 126 } // namespace internal
127 } // namespace aura_shell 127 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ash/wm/workspace_controller.h ('k') | ash/wm/workspace_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698