| Index: mojo/services/public/cpp/view_manager/lib/view_manager_private.h
|
| diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_private.h b/mojo/services/public/cpp/view_manager/lib/view_manager_private.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ea953f27a50a07f5a94619100952246c937fef82
|
| --- /dev/null
|
| +++ b/mojo/services/public/cpp/view_manager/lib/view_manager_private.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2014 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 MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_PRIVATE_H_
|
| +#define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_PRIVATE_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "mojo/services/public/cpp/view_manager/view_manager.h"
|
| +
|
| +namespace mojo {
|
| +namespace services {
|
| +namespace view_manager {
|
| +
|
| +class ViewManagerSynchronizer;
|
| +
|
| +class ViewManagerPrivate {
|
| + public:
|
| + explicit ViewManagerPrivate(ViewManager* manager);
|
| + ~ViewManagerPrivate();
|
| +
|
| + ViewManagerSynchronizer* synchronizer() {
|
| + return manager_->synchronizer_.get();
|
| + }
|
| + Application* application() { return manager_->application_; }
|
| +
|
| + private:
|
| + ViewManager* manager_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ViewManagerPrivate);
|
| +};
|
| +
|
| +} // namespace view_manager
|
| +} // namespace services
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_PRIVATE_H_
|
|
|