Home | History | Annotate | Download | only in dock
      1 // Copyright 2013 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 UI_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_
      6 #define UI_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_
      7 
      8 #include "ash/ash_export.h"
      9 
     10 namespace gfx {
     11 class Rect;
     12 }
     13 
     14 namespace ash {
     15 namespace internal {
     16 
     17 // Observers to the DockedWindowLayoutManager are notified of significant
     18 // events that occur with the docked windows, such as the bounds change.
     19 class ASH_EXPORT DockedWindowLayoutManagerObserver {
     20  public:
     21   // Called after the dock bounds are changed.
     22   virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0;
     23 
     24  protected:
     25   virtual ~DockedWindowLayoutManagerObserver() {}
     26 };
     27 
     28 }  // namespace internal
     29 }  // namespace ash
     30 
     31 #endif  // UI_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_
     32