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

Side by Side Diff: mojo/services/public/cpp/view_manager/lib/view_private.cc

Issue 272833002: View synchronization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 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_VIEW_H_ 5 #include "mojo/services/public/cpp/view_manager/lib/view_private.h"
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_H_
7
8 #include "base/basictypes.h"
9 6
10 namespace mojo { 7 namespace mojo {
11 namespace services { 8 namespace services {
12 namespace view_manager { 9 namespace view_manager {
13 10
14 class View { 11 ViewPrivate::ViewPrivate(View* view)
15 public: 12 : view_(view) {
16 private: 13 }
17 DISALLOW_COPY_AND_ASSIGN(View); 14
18 }; 15 ViewPrivate::~ViewPrivate() {
16 }
17
18 // static
19 View* ViewPrivate::LocalCreate() {
20 return new View;
21 }
19 22
20 } // namespace view_manager 23 } // namespace view_manager
21 } // namespace services 24 } // namespace services
22 } // namespace mojo 25 } // namespace mojo
23
24 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_H_
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/view_private.h ('k') | mojo/services/public/cpp/view_manager/lib/view_tree_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698