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

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

Issue 513523002: Adding Baseframework of the ResourceManager (all hooks and observers) are being put in place with a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self nits 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 | 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_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ 5 #ifndef ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_
6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ 6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_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 ATHENA_EXPORT WindowManagerObserver { 12 class ATHENA_EXPORT WindowManagerObserver {
13 public: 13 public:
14 virtual ~WindowManagerObserver() {} 14 virtual ~WindowManagerObserver() {}
15 15
16 // Called immediately before the overview mode is displayed. 16 // Called immediately before the overview mode is displayed.
17 virtual void OnOverviewModeEnter() = 0; 17 virtual void OnOverviewModeEnter() = 0;
18 18
19 // Called immediately after going out of the overview mode. 19 // Called immediately after going out of the overview mode.
20 virtual void OnOverviewModeExit() = 0; 20 virtual void OnOverviewModeExit() = 0;
21
22 // Called after the activity order has changed.
23 virtual void OnActivityOrderHasChanged() = 0;
Jun Mukai 2014/08/27 01:21:19 Should we use wm::ActivationChangeObserver instead
Mr4D (OOO till 08-26) 2014/08/27 16:12:14 Any re-ordering is of interest since "older" activ
Jun Mukai 2014/08/27 16:57:48 I see. Makes sense.
21 }; 24 };
22 25
23 } // namespace athena 26 } // namespace athena
24 27
25 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ 28 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698