Index: ash/wm/common/shelf/wm_shelf_observer.h |
diff --git a/ash/wm/common/shelf/wm_shelf_observer.h b/ash/wm/common/shelf/wm_shelf_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cc2a7b1e500d4d327867c92c2875f886721856a0 |
--- /dev/null |
+++ b/ash/wm/common/shelf/wm_shelf_observer.h |
@@ -0,0 +1,31 @@ |
+// Copyright 2016 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_WM_COMMON_SHELF_WM_SHELF_OBSERVER_H_ |
+#define ASH_WM_COMMON_SHELF_WM_SHELF_OBSERVER_H_ |
+ |
+#include "ash/ash_export.h" |
+// TODO(sky): refactor into common. |
+#include "ash/shelf/background_animator.h" |
+#include "ash/wm/common/shelf/wm_shelf_types.h" |
+ |
+namespace ash { |
+namespace wm { |
+ |
+class WmWindow; |
+ |
+// Used to changes to the shelf. |
James Cook
2016/04/26 15:22:34
nit: "Used to" -> "Used for". Or just delete comme
sky
2016/04/26 16:26:02
Done.
|
+class ASH_EXPORT WmShelfObserver { |
+ public: |
+ virtual void OnBackgroundUpdated(ShelfBackgroundType background_type, |
+ BackgroundAnimatorChangeType change_type) {} |
+ |
+ protected: |
+ virtual ~WmShelfObserver() {} |
+}; |
+ |
+} // namespace wm |
+} // namespace ash |
+ |
+#endif // ASH_WM_COMMON_SHELF_WM_SHELF_OBSERVER_H_ |