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

Side by Side Diff: mojo/services/public/cpp/view_manager/view_manager.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_MANAGER_H_ 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "mojo/services/public/cpp/view_manager/types.h" 11 #include "mojo/services/public/cpp/view_manager/types.h"
12 #include "mojo/services/public/interfaces/input_events/input_events.mojom.h" 12 #include "mojo/services/public/interfaces/input_events/input_events.mojom.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 class ApplicationConnection; 15 class ApplicationConnection;
16 namespace view_manager {
17
18 class Node; 16 class Node;
19 class View; 17 class View;
20 class ViewManagerDelegate; 18 class ViewManagerDelegate;
21 class WindowManagerDelegate; 19 class WindowManagerDelegate;
22 20
23 class ViewManager { 21 class ViewManager {
24 public: 22 public:
25 // Sets the window manager delegate. Can only be called by the app embedded at 23 // Sets the window manager delegate. Can only be called by the app embedded at
26 // the service root node. 24 // the service root node.
27 virtual void SetWindowManagerDelegate( 25 virtual void SetWindowManagerDelegate(
(...skipping 11 matching lines...) Expand all
39 37
40 // Returns a Node or View known to this connection. 38 // Returns a Node or View known to this connection.
41 virtual Node* GetNodeById(Id id) = 0; 39 virtual Node* GetNodeById(Id id) = 0;
42 virtual View* GetViewById(Id id) = 0; 40 virtual View* GetViewById(Id id) = 0;
43 41
44 protected: 42 protected:
45 virtual ~ViewManager() {} 43 virtual ~ViewManager() {}
46 44
47 }; 45 };
48 46
49 } // namespace view_manager
50 } // namespace mojo 47 } // namespace mojo
51 48
52 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_ 49 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/view_manager/view.h ('k') | mojo/services/public/cpp/view_manager/view_manager_client_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698