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

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

Issue 495193003: athena: Fix overview mode for 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 void ToggleSplitview(); 53 void ToggleSplitview();
54 54
55 void InstallAccelerators(); 55 void InstallAccelerators();
56 56
57 // WindowManager: 57 // WindowManager:
58 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE; 58 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE;
59 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE; 59 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE;
60 60
61 // WindowOverviewModeDelegate: 61 // WindowOverviewModeDelegate:
62 virtual bool IsInSplitViewMode(aura::Window** left_window,
63 aura::Window** right_window) OVERRIDE;
62 virtual void OnSelectWindow(aura::Window* window) OVERRIDE; 64 virtual void OnSelectWindow(aura::Window* window) OVERRIDE;
63 virtual void OnSplitViewMode(aura::Window* left, 65 virtual void OnSplitViewMode(aura::Window* left,
64 aura::Window* right) OVERRIDE; 66 aura::Window* right) OVERRIDE;
65 67
66 // aura::WindowObserver: 68 // aura::WindowObserver:
67 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; 69 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
68 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 70 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
69 71
70 // AcceleratorHandler: 72 // AcceleratorHandler:
71 virtual bool IsCommandEnabled(int command_id) const OVERRIDE; 73 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
(...skipping 15 matching lines...) Expand all
87 scoped_ptr<TitleDragController> title_drag_controller_; 89 scoped_ptr<TitleDragController> title_drag_controller_;
88 scoped_ptr<wm::ShadowController> shadow_controller_; 90 scoped_ptr<wm::ShadowController> shadow_controller_;
89 ObserverList<WindowManagerObserver> observers_; 91 ObserverList<WindowManagerObserver> observers_;
90 92
91 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); 93 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl);
92 }; 94 };
93 95
94 } // namespace athena 96 } // namespace athena
95 97
96 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ 98 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698