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

Unified Diff: trunk/src/mojo/services/view_manager/view.h

Issue 250733003: Revert 266159 "Adds more to viewmanager" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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/view_manager/view.h
===================================================================
--- trunk/src/mojo/services/view_manager/view.h (revision 266161)
+++ trunk/src/mojo/services/view_manager/view.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_VIEW_MANAGER_VIEW_H_
-#define MOJO_SERVICES_VIEW_MANAGER_VIEW_H_
-
-#include <vector>
-
-#include "base/logging.h"
-#include "mojo/services/view_manager/ids.h"
-#include "mojo/services/view_manager/view_manager_export.h"
-
-namespace mojo {
-namespace services {
-namespace view_manager {
-
-class Node;
-
-// Represents a view. A view may be associated with a single Node.
-class MOJO_VIEW_MANAGER_EXPORT View {
- public:
- explicit View(const ViewId& id);
- ~View();
-
- const ViewId& id() const { return id_; }
-
- Node* node() { return node_; }
-
- private:
- // Node is responsible for maintaining |node_|.
- friend class Node;
-
- void set_node(Node* node) { node_ = node; }
-
- const ViewId id_;
- Node* node_;
-
- DISALLOW_COPY_AND_ASSIGN(View);
-};
-
-} // namespace view_manager
-} // namespace services
-} // namespace mojo
-
-#endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_H_
« no previous file with comments | « trunk/src/mojo/services/view_manager/root_node_manager.cc ('k') | trunk/src/mojo/services/view_manager/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698