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

Side by Side Diff: mojo/services/public/cpp/view_manager/lib/node_private.h

Issue 418983002: Nukes view_manager namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_NODE_PRIVATE_H_ 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_NODE_PRIVATE_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_NODE_PRIVATE_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_NODE_PRIVATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #include "mojo/services/public/cpp/view_manager/node.h" 10 #include "mojo/services/public/cpp/view_manager/node.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace view_manager {
14 13
15 class NodePrivate { 14 class NodePrivate {
16 public: 15 public:
17 explicit NodePrivate(Node* node); 16 explicit NodePrivate(Node* node);
18 ~NodePrivate(); 17 ~NodePrivate();
19 18
20 static Node* LocalCreate(); 19 static Node* LocalCreate();
21 20
22 ObserverList<NodeObserver>* observers() { return &node_->observers_; } 21 ObserverList<NodeObserver>* observers() { return &node_->observers_; }
23 22
(...skipping 25 matching lines...) Expand all
49 const gfx::Rect& new_bounds) { 48 const gfx::Rect& new_bounds) {
50 node_->LocalSetBounds(old_bounds, new_bounds); 49 node_->LocalSetBounds(old_bounds, new_bounds);
51 } 50 }
52 51
53 private: 52 private:
54 Node* node_; 53 Node* node_;
55 54
56 DISALLOW_COPY_AND_ASSIGN(NodePrivate); 55 DISALLOW_COPY_AND_ASSIGN(NodePrivate);
57 }; 56 };
58 57
59 } // namespace view_manager
60 } // namespace mojo 58 } // namespace mojo
61 59
62 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_NODE_PRIVATE_H_ 60 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_NODE_PRIVATE_H_
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/node_observer.cc ('k') | mojo/services/public/cpp/view_manager/lib/node_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698