OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_PRIVATE_H_ |
| 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_PRIVATE_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "mojo/services/public/cpp/view_manager/view_manager.h" |
| 10 |
| 11 namespace mojo { |
| 12 namespace services { |
| 13 namespace view_manager { |
| 14 |
| 15 class ViewManagerSynchronizer; |
| 16 |
| 17 class ViewManagerPrivate { |
| 18 public: |
| 19 explicit ViewManagerPrivate(ViewManager* manager); |
| 20 ~ViewManagerPrivate(); |
| 21 |
| 22 ViewManagerSynchronizer* synchronizer() { |
| 23 return manager_->synchronizer_.get(); |
| 24 } |
| 25 Shell* shell() { return manager_->shell_; } |
| 26 |
| 27 private: |
| 28 ViewManager* manager_; |
| 29 |
| 30 DISALLOW_COPY_AND_ASSIGN(ViewManagerPrivate); |
| 31 }; |
| 32 |
| 33 } // namespace view_manager |
| 34 } // namespace services |
| 35 } // namespace mojo |
| 36 |
| 37 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_PRIVATE_H_ |
OLD | NEW |