summaryrefslogtreecommitdiff
path: root/chromium/ash/shelf/shelf_icon_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/shelf/shelf_icon_observer.h')
-rw-r--r--chromium/ash/shelf/shelf_icon_observer.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/ash/shelf/shelf_icon_observer.h b/chromium/ash/shelf/shelf_icon_observer.h
new file mode 100644
index 00000000000..8132a8939e8
--- /dev/null
+++ b/chromium/ash/shelf/shelf_icon_observer.h
@@ -0,0 +1,23 @@
+// 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 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_