| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 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_DOCK_OBSERVER_H_ |
| 6 #define UI_DOCK_DOCK_OBSERVER_H_ |
| 7 |
| 8 namespace gfx { |
| 9 class Rect; |
| 10 } |
| 11 |
| 12 namespace ash { |
| 13 namespace internal { |
| 14 |
| 15 // Observers to the DockController are notified of significant events that |
| 16 // occur with the dock, such as the bounds or visibility changing. |
| 17 class DockObserver { |
| 18 public: |
| 19 // Called when the dock bounds or visibility are about to change. |
| 20 virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0; |
| 21 }; |
| 22 |
| 23 } // namespace internal |
| 24 } // namespace dock |
| 25 |
| 26 #endif // UI_DOCK_DOCK_OBSERVER_H_ |
| OLD | NEW |