Home | History | Annotate | Download | only in public
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_
      6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_
      7 
      8 #include "athena/athena_export.h"
      9 
     10 namespace athena {
     11 
     12 class ATHENA_EXPORT WindowManagerObserver {
     13  public:
     14   virtual ~WindowManagerObserver() {}
     15 
     16   // Called immediately before the overview mode is displayed.
     17   virtual void OnOverviewModeEnter() = 0;
     18 
     19   // Called immediately after going out of the overview mode.
     20   virtual void OnOverviewModeExit() = 0;
     21 
     22   // Called immediately before the split view mode is activated.
     23   virtual void OnSplitViewModeEnter() = 0;
     24 
     25   // Called immediately after going out of the split view mode.
     26   virtual void OnSplitViewModeExit() = 0;
     27 };
     28 
     29 }  // namespace athena
     30 
     31 #endif  // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_
     32