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

Side by Side Diff: components/mus/view_tree_host_connection.h

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « components/mus/view_tree_apptest.cc ('k') | components/mus/view_tree_host_connection.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_VIEW_TREE_HOST_CONNECTION_H_ 5 #ifndef COMPONENTS_MUS_VIEW_TREE_HOST_CONNECTION_H_
6 #define COMPONENTS_MUS_VIEW_TREE_HOST_CONNECTION_H_ 6 #define COMPONENTS_MUS_VIEW_TREE_HOST_CONNECTION_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/mus/public/interfaces/view_tree_host.mojom.h" 9 #include "components/mus/public/interfaces/view_tree_host.mojom.h"
10 #include "components/mus/view_tree_host_delegate.h" 10 #include "components/mus/view_tree_host_delegate.h"
11 #include "components/mus/view_tree_host_impl.h" 11 #include "components/mus/view_tree_host_impl.h"
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 12 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
13 13
14 namespace mus { 14 namespace view_manager {
15 15
16 class ConnectionManager; 16 class ConnectionManager;
17 class ViewTreeImpl; 17 class ViewTreeImpl;
18 18
19 // ViewTreeHostConnection is a server-side object that encapsulates the 19 // ViewTreeHostConnection is a server-side object that encapsulates the
20 // connection between a client of the ViewTreeHost and its implementation. 20 // connection between a client of the ViewTreeHost and its implementation.
21 // ViewTreeHostConnection also establishes a ClientConnection via the same 21 // ViewTreeHostConnection also establishes a ClientConnection via the same
22 // code path as embedded views. ConnectionManager manages the lifetime of 22 // code path as embedded views. ConnectionManager manages the lifetime of
23 // ViewTreeHostConnections. If a connection to the client is lost or if the 23 // ViewTreeHostConnections. If a connection to the client is lost or if the
24 // associated root is closed, the ViewTreeHostConnection will inform the 24 // associated root is closed, the ViewTreeHostConnection will inform the
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // ViewTreeHostDelegate: 71 // ViewTreeHostDelegate:
72 void OnDisplayInitialized() override; 72 void OnDisplayInitialized() override;
73 73
74 mojo::Binding<mojo::ViewTreeHost> binding_; 74 mojo::Binding<mojo::ViewTreeHost> binding_;
75 mojo::ViewTreeClientPtr client_; 75 mojo::ViewTreeClientPtr client_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(ViewTreeHostConnectionImpl); 77 DISALLOW_COPY_AND_ASSIGN(ViewTreeHostConnectionImpl);
78 }; 78 };
79 79
80 } // namespace mus 80 } // namespace view_manager
81 81
82 #endif // COMPONENTS_MUS_VIEW_TREE_HOST_CONNECTION_H_ 82 #endif // COMPONENTS_MUS_VIEW_TREE_HOST_CONNECTION_H_
OLDNEW
« no previous file with comments | « components/mus/view_tree_apptest.cc ('k') | components/mus/view_tree_host_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698