Index: ui/aura_shell/show_state_controller.h |
diff --git a/ui/aura_shell/show_state_controller.h b/ui/aura_shell/show_state_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9002d624e427e21539d4717fe6fb62a9e075b103 |
--- /dev/null |
+++ b/ui/aura_shell/show_state_controller.h |
@@ -0,0 +1,42 @@ |
+// Copyright (c) 2011 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_AURA_SHELL_SHOW_STATE_CONTROLLER_H_ |
+#define UI_AURA_SHELL_SHOW_STATE_CONTROLLER_H_ |
+#pragma once |
+ |
+#include "base/basictypes.h" |
+#include "base/compiler_specific.h" |
+#include "ui/aura/window_observer.h" |
+ |
+namespace aura { |
+class Window; |
+} |
+ |
+namespace aura_shell { |
+namespace internal { |
+ |
+class DefaultContainerLayoutManager; |
+ |
+class ShowStateController : public aura::WindowObserver { |
sky
2011/10/31 23:17:34
Add a description of this.
oshima
2011/11/01 00:40:33
Done.
|
+public: |
+ explicit ShowStateController(DefaultContainerLayoutManager* layout_manager); |
+ virtual ~ShowStateController(); |
+ |
+ // Invoked when window proparty has changed. |
+ virtual void OnPropertyChanged(aura::Window* window, |
+ const char* name, |
+ void* old) OVERRIDE; |
+ |
+ private: |
+ // LayoutManager that downs this ShowStateController. |
+ DefaultContainerLayoutManager* layout_manager_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ShowStateController); |
+}; |
+ |
+} // namepsace aura_shell |
+} // namepsace internal |
+ |
+#endif // UI_AURA_SHELL_SHOW_STATE_CONTROLLER_H_ |