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

Side by Side Diff: athena/wm/public/window_manager.h

Issue 451363002: Revert of Split Screen mode implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_view
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
« no previous file with comments | « athena/wm/public/window_list_provider.h ('k') | athena/wm/public/window_manager_observer.h » ('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_SCREEN_PUBLIC_WINDOW_MANAGER_H_ 5 #ifndef ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_
6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ 6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_
7 7
8 #include "athena/athena_export.h" 8 #include "athena/athena_export.h"
9 9
10 namespace athena { 10 namespace athena {
11 11
12 class WindowManagerObserver; 12 class WindowManagerObserver;
13 13
14 // Manages the application, web windows. 14 // Manages the application, web windows.
15 class ATHENA_EXPORT WindowManager { 15 class ATHENA_EXPORT WindowManager {
16 public: 16 public:
17 // Creates and deletes the singleton object of the WindowManager 17 // Creates and deletes the singleton object of the WindowManager
18 // implementation. 18 // implementation.
19 static WindowManager* Create(); 19 static WindowManager* Create();
20 static void Shutdown(); 20 static void Shutdown();
21 static WindowManager* GetInstance(); 21 static WindowManager* GetInstance();
22 22
23 virtual ~WindowManager() {} 23 virtual ~WindowManager() {}
24 24
25 virtual void ToggleOverview() = 0; 25 virtual void ToggleOverview() = 0;
26 26
27 virtual bool IsOverviewModeActive() = 0;
28
29 virtual void AddObserver(WindowManagerObserver* observer) = 0; 27 virtual void AddObserver(WindowManagerObserver* observer) = 0;
30 virtual void RemoveObserver(WindowManagerObserver* observer) = 0; 28 virtual void RemoveObserver(WindowManagerObserver* observer) = 0;
31 }; 29 };
32 30
33 } // namespace athena 31 } // namespace athena
34 32
35 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ 33 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « athena/wm/public/window_list_provider.h ('k') | athena/wm/public/window_manager_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698