Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: trunk/src/mojo/services/public/cpp/view_manager/lib/view_private.h

Issue 286653003: Revert 270122 "Synchronizes View instances across clients." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/mojo/services/public/cpp/view_manager/lib/view_private.h
===================================================================
--- trunk/src/mojo/services/public/cpp/view_manager/lib/view_private.h (revision 270124)
+++ trunk/src/mojo/services/public/cpp/view_manager/lib/view_private.h (working copy)
@@ -1,46 +0,0 @@
-// 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_PRIVATE_H_
-#define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_
-
-#include "base/basictypes.h"
-
-#include "mojo/services/public/cpp/view_manager/view.h"
-
-namespace mojo {
-namespace services {
-namespace view_manager {
-
-class ViewPrivate {
- public:
- explicit ViewPrivate(View* view);
- ~ViewPrivate();
-
- static View* LocalCreate();
- void LocalDestroy() {
- view_->LocalDestroy();
- }
-
- void set_id(TransportViewId id) { view_->id_ = id; }
- void set_node(ViewTreeNode* node) { view_->node_ = node; }
-
- ViewManager* view_manager() { return view_->manager_; }
- void set_view_manager(ViewManager* manager) {
- view_->manager_ = manager;
- }
-
- ObserverList<ViewObserver>* observers() { return &view_->observers_; }
-
- private:
- View* view_;
-
- DISALLOW_COPY_AND_ASSIGN(ViewPrivate);
-};
-
-} // namespace view_manager
-} // namespace services
-} // namespace mojo
-
-#endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698