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

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

Issue 2292183003: Moves WorkspaceController to ash/common (Closed)
Patch Set: merge 2 trunk Created 4 years, 3 months 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
OLDNEW
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/window_animations.h" 5 #include "ash/wm/window_animations.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "ash/aura/wm_window_aura.h" 12 #include "ash/aura/wm_window_aura.h"
13 #include "ash/common/shelf/wm_shelf.h" 13 #include "ash/common/shelf/wm_shelf.h"
14 #include "ash/common/wm/window_animation_types.h" 14 #include "ash/common/wm/window_animation_types.h"
15 #include "ash/common/wm/workspace_controller.h"
15 #include "ash/screen_util.h" 16 #include "ash/screen_util.h"
16 #include "ash/wm/window_util.h" 17 #include "ash/wm/window_util.h"
17 #include "ash/wm/workspace_controller.h"
18 #include "base/i18n/rtl.h" 18 #include "base/i18n/rtl.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/stl_util.h" 20 #include "base/stl_util.h"
21 #include "base/time/time.h" 21 #include "base/time/time.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/aura/window_property.h" 25 #include "ui/aura/window_property.h"
26 #include "ui/compositor/compositor_observer.h" 26 #include "ui/compositor/compositor_observer.h"
27 #include "ui/compositor/layer.h" 27 #include "ui/compositor/layer.h"
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 case SHELF_ALIGNMENT_LEFT: 466 case SHELF_ALIGNMENT_LEFT:
467 return gfx::Rect(work_area.x(), work_area.y(), 0, 0); 467 return gfx::Rect(work_area.x(), work_area.y(), 0, 0);
468 case SHELF_ALIGNMENT_RIGHT: 468 case SHELF_ALIGNMENT_RIGHT:
469 return gfx::Rect(work_area.right(), work_area.y(), 0, 0); 469 return gfx::Rect(work_area.right(), work_area.y(), 0, 0);
470 } 470 }
471 NOTREACHED(); 471 NOTREACHED();
472 return gfx::Rect(); 472 return gfx::Rect();
473 } 473 }
474 474
475 } // namespace ash 475 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698