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

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

Issue 269973002: Revert 268218 "Add support for mapping node tree on the client." (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_manager.cc
===================================================================
--- trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager.cc (revision 268224)
+++ trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager.cc (working copy)
@@ -1,32 +1,20 @@
// 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.
-
-#include "mojo/services/public/cpp/view_manager/view_manager.h"
-
-#include "mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h"
-
-namespace mojo {
-namespace services {
-namespace view_manager {
-
-ViewManager::ViewManager(Shell* shell)
- : shell_(shell),
- synchronizer_(new ViewManagerSynchronizer(this)) {}
-ViewManager::~ViewManager() {}
-
-void ViewManager::BuildNodeTree(const mojo::Callback<void()>& callback) {
- synchronizer_->BuildNodeTree(callback);
-}
-
-void ViewManager::AddObserver(ViewManagerObserver* observer) {
- observers_.AddObserver(observer);
-}
-
-void ViewManager::RemoveObserver(ViewManagerObserver* observer) {
- observers_.RemoveObserver(observer);
-}
-
-} // namespace view_manager
-} // namespace services
-} // namespace mojo
+
+#include "mojo/services/public/cpp/view_manager/view_manager.h"
+
+#include "mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h"
+
+namespace mojo {
+namespace services {
+namespace view_manager {
+
+ViewManager::ViewManager(Shell* shell)
+ : shell_(shell),
+ synchronizer_(new ViewManagerSynchronizer(this)) {}
+ViewManager::~ViewManager() {}
+
+} // namespace view_manager
+} // namespace services
+} // namespace mojo
« no previous file with comments | « trunk/src/mojo/mojo_services.gypi ('k') | trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698