Index: ash/shelf/shelf_icon_observer.h |
diff --git a/ash/shelf/shelf_icon_observer.h b/ash/shelf/shelf_icon_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..897b5489febc064ae7fdffe0fd58bf2fe90a370d |
--- /dev/null |
+++ b/ash/shelf/shelf_icon_observer.h |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2012 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 ASH_SHELF_SHELF_ICON_OBSERVER_H_ |
+#define ASH_SHELF_SHELF_ICON_OBSERVER_H_ |
+ |
+#include "ash/ash_export.h" |
+ |
+namespace ash { |
+ |
+class ASH_EXPORT ShelfIconObserver { |
+ public: |
+ // Invoked when any icon on shelf changes position. |
+ virtual void OnShelfIconPositionsChanged() = 0; |
+ |
+ protected: |
+ virtual ~ShelfIconObserver() {} |
+}; |
+ |
+} // namespace ash |
+ |
+#endif // ASH_SHELF_SHELF_ICON_OBSERVER_H_ |