summaryrefslogtreecommitdiff
path: root/chromium/ash/wm/dock/docked_window_layout_manager_observer.h
blob: 20afca99b60d15d38a9293bea23414a35f38d61a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_
#define UI_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_

#include "ash/ash_export.h"

namespace gfx {
class Rect;
}

namespace ash {
namespace internal {

// Observers to the DockedWindowLayoutManager are notified of significant
// events that occur with the docked windows, such as the bounds change.
class ASH_EXPORT DockedWindowLayoutManagerObserver {
 public:
  // Called after the dock bounds are changed.
  virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0;

 protected:
  virtual ~DockedWindowLayoutManagerObserver() {}
};

}  // namespace internal
}  // namespace ash

#endif  // UI_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_