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

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

Issue 790623003: Restructure public side of view_manager service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: BUILD.gn file reorderings Created 6 years 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
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_VIEW_PRIVATE_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #include "mojo/services/public/cpp/view_manager/view.h" 10 #include "mojo/services/view_manager/public/cpp/view.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 13
14 // This class is a friend of a View and contains functions to mutate internal 14 // This class is a friend of a View and contains functions to mutate internal
15 // state of View. 15 // state of View.
16 class ViewPrivate { 16 class ViewPrivate {
17 public: 17 public:
18 explicit ViewPrivate(View* view); 18 explicit ViewPrivate(View* view);
19 ~ViewPrivate(); 19 ~ViewPrivate();
20 20
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); } 59 void LocalSetDrawn(bool drawn) { view_->LocalSetDrawn(drawn); }
60 60
61 private: 61 private:
62 View* view_; 62 View* view_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(ViewPrivate); 64 DISALLOW_COPY_AND_ASSIGN(ViewPrivate);
65 }; 65 };
66 66
67 } // namespace mojo 67 } // namespace mojo
68 68
69 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_PRIVATE_H_ 69 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_PRIVATE_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/public/cpp/lib/view_observer.cc ('k') | mojo/services/view_manager/public/cpp/lib/view_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698