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

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

Issue 418983002: Nukes view_manager namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 4 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 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "mojo/services/public/cpp/view_manager/types.h" 10 #include "mojo/services/public/cpp/view_manager/types.h"
11 #include "third_party/skia/include/core/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
12 12
13 class SkBitmap; 13 class SkBitmap;
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace view_manager {
17 16
18 class Node; 17 class Node;
19 class ViewManager; 18 class ViewManager;
20 class ViewObserver; 19 class ViewObserver;
21 20
22 // Views are owned by the ViewManager. 21 // Views are owned by the ViewManager.
23 class View { 22 class View {
24 public: 23 public:
25 static View* Create(ViewManager* manager); 24 static View* Create(ViewManager* manager);
26 25
(...skipping 20 matching lines...) Expand all
47 46
48 Id id_; 47 Id id_;
49 Node* node_; 48 Node* node_;
50 ViewManager* manager_; 49 ViewManager* manager_;
51 50
52 ObserverList<ViewObserver> observers_; 51 ObserverList<ViewObserver> observers_;
53 52
54 DISALLOW_COPY_AND_ASSIGN(View); 53 DISALLOW_COPY_AND_ASSIGN(View);
55 }; 54 };
56 55
57 } // namespace view_manager
58 } // namespace mojo 56 } // namespace mojo
59 57
60 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_H_ 58 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_H_
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/view_manager/util.h ('k') | mojo/services/public/cpp/view_manager/view_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698