Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ | 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ |
| 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ | 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | |
| 9 | 10 |
| 10 namespace mojo { | 11 namespace mojo { |
| 12 class Application; | |
| 11 namespace services { | 13 namespace services { |
| 12 namespace view_manager { | 14 namespace view_manager { |
| 13 | 15 |
| 16 class ViewManagerSynchronizer; | |
| 17 | |
| 14 class ViewManager { | 18 class ViewManager { |
| 15 public: | 19 public: |
| 20 explicit ViewManager(Application* application); | |
|
sky
2014/04/28 23:04:19
Does this really need Application and not Shell?
| |
| 21 ~ViewManager(); | |
| 22 | |
| 16 private: | 23 private: |
| 24 friend class ViewManagerPrivate; | |
| 25 | |
| 26 Application* application_; | |
| 27 scoped_ptr<ViewManagerSynchronizer> synchronizer_; | |
| 28 | |
| 17 DISALLOW_COPY_AND_ASSIGN(ViewManager); | 29 DISALLOW_COPY_AND_ASSIGN(ViewManager); |
| 18 }; | 30 }; |
| 19 | 31 |
| 20 } // namespace view_manager | 32 } // namespace view_manager |
| 21 } // namespace services | 33 } // namespace services |
| 22 } // namespace mojo | 34 } // namespace mojo |
| 23 | 35 |
| 24 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ | 36 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ |
| OLD | NEW |