OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 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_AURA_SHELL_SHOW_STATE_CONTROLLER_H_ | |
6 #define UI_AURA_SHELL_SHOW_STATE_CONTROLLER_H_ | |
7 #pragma once | |
8 | |
9 #include "base/basictypes.h" | |
10 #include "base/compiler_specific.h" | |
11 #include "ui/aura/window_observer.h" | |
12 | |
13 namespace aura { | |
14 class Window; | |
15 } | |
16 | |
17 namespace aura_shell { | |
18 namespace internal { | |
19 | |
20 class DefaultContainerLayoutManager; | |
21 | |
22 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.
| |
23 public: | |
24 explicit ShowStateController(DefaultContainerLayoutManager* layout_manager); | |
25 virtual ~ShowStateController(); | |
26 | |
27 // Invoked when window proparty has changed. | |
28 virtual void OnPropertyChanged(aura::Window* window, | |
29 const char* name, | |
30 void* old) OVERRIDE; | |
31 | |
32 private: | |
33 // LayoutManager that downs this ShowStateController. | |
34 DefaultContainerLayoutManager* layout_manager_; | |
35 | |
36 DISALLOW_COPY_AND_ASSIGN(ShowStateController); | |
37 }; | |
38 | |
39 } // namepsace aura_shell | |
40 } // namepsace internal | |
41 | |
42 #endif // UI_AURA_SHELL_SHOW_STATE_CONTROLLER_H_ | |
OLD | NEW |