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

Side by Side Diff: athena/wm/window_manager_impl.h

Issue 481843002: athena: Fix window-layout in split-view mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | athena/wm/window_manager_impl.cc » ('j') | athena/wm/window_manager_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef ATHENA_WM_WINDOW_MANAGER_IMPL_H_ 5 #ifndef ATHENA_WM_WINDOW_MANAGER_IMPL_H_
6 #define ATHENA_WM_WINDOW_MANAGER_IMPL_H_ 6 #define ATHENA_WM_WINDOW_MANAGER_IMPL_H_
7 7
8 #include "athena/input/public/accelerator_manager.h" 8 #include "athena/input/public/accelerator_manager.h"
9 #include "athena/wm/public/window_manager.h" 9 #include "athena/wm/public/window_manager.h"
10 #include "athena/wm/title_drag_controller.h" 10 #include "athena/wm/title_drag_controller.h"
(...skipping 16 matching lines...) Expand all
27 27
28 class WindowManagerImpl : public WindowManager, 28 class WindowManagerImpl : public WindowManager,
29 public WindowOverviewModeDelegate, 29 public WindowOverviewModeDelegate,
30 public aura::WindowObserver, 30 public aura::WindowObserver,
31 public AcceleratorHandler, 31 public AcceleratorHandler,
32 public TitleDragControllerDelegate { 32 public TitleDragControllerDelegate {
33 public: 33 public:
34 WindowManagerImpl(); 34 WindowManagerImpl();
35 virtual ~WindowManagerImpl(); 35 virtual ~WindowManagerImpl();
36 36
37 void Layout();
38
39 // WindowManager: 37 // WindowManager:
40 virtual void ToggleOverview() OVERRIDE; 38 virtual void ToggleOverview() OVERRIDE;
41 virtual bool IsOverviewModeActive() OVERRIDE; 39 virtual bool IsOverviewModeActive() OVERRIDE;
42 40
43 private: 41 private:
44 friend class WindowManagerImplTestApi; 42 friend class WindowManagerImplTestApi;
43 friend class AthenaContainerLayoutManager;
45 44
46 enum Command { 45 enum Command {
47 CMD_TOGGLE_OVERVIEW, 46 CMD_TOGGLE_OVERVIEW,
48 }; 47 };
49 48
50 // Sets whether overview mode is active. 49 // Sets whether overview mode is active.
51 void SetInOverview(bool active); 50 void SetInOverview(bool active);
52 51
53 void InstallAccelerators(); 52 void InstallAccelerators();
54 53
(...skipping 30 matching lines...) Expand all
85 scoped_ptr<TitleDragController> title_drag_controller_; 84 scoped_ptr<TitleDragController> title_drag_controller_;
86 scoped_ptr<wm::ShadowController> shadow_controller_; 85 scoped_ptr<wm::ShadowController> shadow_controller_;
87 ObserverList<WindowManagerObserver> observers_; 86 ObserverList<WindowManagerObserver> observers_;
88 87
89 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); 88 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl);
90 }; 89 };
91 90
92 } // namespace athena 91 } // namespace athena
93 92
94 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ 93 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | athena/wm/window_manager_impl.cc » ('j') | athena/wm/window_manager_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698