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

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

Issue 536013002: Decoupling visibility states from webcontent, adding visibility management in ResourceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Created 6 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
« no previous file with comments | « athena/wm/public/window_manager_observer.h ('k') | athena/wm/window_manager_impl.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 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Sets whether overview mode is active. 54 // Sets whether overview mode is active.
55 void SetInOverview(bool active); 55 void SetInOverview(bool active);
56 56
57 void ToggleSplitview(); 57 void ToggleSplitview();
58 58
59 void InstallAccelerators(); 59 void InstallAccelerators();
60 60
61 // WindowManager: 61 // WindowManager:
62 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE; 62 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE;
63 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE; 63 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE;
64 virtual void ToggleSplitViewForTest() OVERRIDE;
64 65
65 // WindowOverviewModeDelegate: 66 // WindowOverviewModeDelegate:
66 virtual void OnSelectWindow(aura::Window* window) OVERRIDE; 67 virtual void OnSelectWindow(aura::Window* window) OVERRIDE;
67 virtual void OnSplitViewMode(aura::Window* left, 68 virtual void OnSplitViewMode(aura::Window* left,
68 aura::Window* right) OVERRIDE; 69 aura::Window* right) OVERRIDE;
69 70
70 // aura::WindowObserver: 71 // aura::WindowObserver:
71 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; 72 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
72 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 73 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
73 virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE;
74 74
75 // AcceleratorHandler: 75 // AcceleratorHandler:
76 virtual bool IsCommandEnabled(int command_id) const OVERRIDE; 76 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
77 virtual bool OnAcceleratorFired(int command_id, 77 virtual bool OnAcceleratorFired(int command_id,
78 const ui::Accelerator& accelerator) OVERRIDE; 78 const ui::Accelerator& accelerator) OVERRIDE;
79 79
80 // TitleDragControllerDelegate: 80 // TitleDragControllerDelegate:
81 virtual aura::Window* GetWindowBehind(aura::Window* window) OVERRIDE; 81 virtual aura::Window* GetWindowBehind(aura::Window* window) OVERRIDE;
82 virtual void OnTitleDragStarted(aura::Window* window) OVERRIDE; 82 virtual void OnTitleDragStarted(aura::Window* window) OVERRIDE;
83 virtual void OnTitleDragCompleted(aura::Window* window) OVERRIDE; 83 virtual void OnTitleDragCompleted(aura::Window* window) OVERRIDE;
84 virtual void OnTitleDragCanceled(aura::Window* window) OVERRIDE; 84 virtual void OnTitleDragCanceled(aura::Window* window) OVERRIDE;
85 85
86 scoped_ptr<aura::Window> container_; 86 scoped_ptr<aura::Window> container_;
87 scoped_ptr<WindowListProvider> window_list_provider_; 87 scoped_ptr<WindowListProvider> window_list_provider_;
88 scoped_ptr<WindowOverviewMode> overview_; 88 scoped_ptr<WindowOverviewMode> overview_;
89 scoped_ptr<BezelController> bezel_controller_; 89 scoped_ptr<BezelController> bezel_controller_;
90 scoped_ptr<SplitViewController> split_view_controller_; 90 scoped_ptr<SplitViewController> split_view_controller_;
91 scoped_ptr<wm::WMState> wm_state_; 91 scoped_ptr<wm::WMState> wm_state_;
92 scoped_ptr<TitleDragController> title_drag_controller_; 92 scoped_ptr<TitleDragController> title_drag_controller_;
93 scoped_ptr<wm::ShadowController> shadow_controller_; 93 scoped_ptr<wm::ShadowController> shadow_controller_;
94 ObserverList<WindowManagerObserver> observers_; 94 ObserverList<WindowManagerObserver> observers_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); 96 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl);
97 }; 97 };
98 98
99 } // namespace athena 99 } // namespace athena
100 100
101 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ 101 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « athena/wm/public/window_manager_observer.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698