| Index: ash/wm/dock/dock_observer.h
|
| diff --git a/ash/wm/dock/dock_observer.h b/ash/wm/dock/dock_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..670f13a4f6b30f5e37d869108dd3229a90a8d6cb
|
| --- /dev/null
|
| +++ b/ash/wm/dock/dock_observer.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 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_DOCK_OBSERVER_H_
|
| +#define UI_DOCK_DOCK_OBSERVER_H_
|
| +
|
| +namespace gfx {
|
| +class Rect;
|
| +}
|
| +
|
| +namespace ash {
|
| +namespace internal {
|
| +
|
| +// Observers to the DockController are notified of significant events that
|
| +// occur with the dock, such as the bounds or visibility changing.
|
| +class DockObserver {
|
| + public:
|
| + // Called when the dock bounds or visibility are about to change.
|
| + virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0;
|
| +};
|
| +
|
| +} // namespace internal
|
| +} // namespace dock
|
| +
|
| +#endif // UI_DOCK_DOCK_OBSERVER_H_
|
|
|