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

Unified Diff: components/mus/connection_manager.cc

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated all the namespaces in mus 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/connection_manager.cc
diff --git a/components/mus/connection_manager.cc b/components/mus/connection_manager.cc
index 2a86f1070e5967409e5241dbec47bcec9b112da6..28d2eb20c61104abd65a7bd9be40f6adfd9d0175 100644
--- a/components/mus/connection_manager.cc
+++ b/components/mus/connection_manager.cc
@@ -20,9 +20,7 @@
#include "mojo/converters/surfaces/surfaces_type_converters.h"
#include "ui/gfx/geometry/size_conversions.h"
-using mojo::ConnectionSpecificId;
-
-namespace view_manager {
+namespace mus {
ConnectionManager::ScopedChange::ScopedChange(
ViewTreeImpl* connection,
@@ -40,7 +38,7 @@ ConnectionManager::ScopedChange::~ScopedChange() {
ConnectionManager::ConnectionManager(
ConnectionManagerDelegate* delegate,
- const scoped_refptr<surfaces::SurfacesState>& surfaces_state)
+ const scoped_refptr<SurfacesState>& surfaces_state)
: delegate_(delegate),
surfaces_state_(surfaces_state),
next_connection_id_(1),
@@ -129,7 +127,7 @@ void ConnectionManager::OnHostConnectionClosed(
delegate_->OnNoMoreRootConnections();
}
-void ConnectionManager::EmbedAtView(mojo::ConnectionSpecificId creator_id,
+void ConnectionManager::EmbedAtView(ConnectionSpecificId creator_id,
const ViewId& view_id,
mojo::URLRequestPtr request) {
mojo::ViewTreePtr service_ptr;
@@ -142,10 +140,9 @@ void ConnectionManager::EmbedAtView(mojo::ConnectionSpecificId creator_id,
OnConnectionMessagedClient(client_connection->service()->id());
}
-ViewTreeImpl* ConnectionManager::EmbedAtView(
- mojo::ConnectionSpecificId creator_id,
- const ViewId& view_id,
- mojo::ViewTreeClientPtr client) {
+ViewTreeImpl* ConnectionManager::EmbedAtView(ConnectionSpecificId creator_id,
+ const ViewId& view_id,
+ mojo::ViewTreeClientPtr client) {
mojo::ViewTreePtr service_ptr;
ClientConnection* client_connection =
delegate_->CreateClientConnectionForEmbedAtView(
@@ -331,7 +328,7 @@ ConnectionManager::UpdateViewTreeFromCompositorFrame(
return ConvertToCompositorFrame(input, this);
}
-surfaces::SurfacesState* ConnectionManager::GetSurfacesState() {
+SurfacesState* ConnectionManager::GetSurfacesState() {
return surfaces_state_.get();
}
@@ -460,4 +457,4 @@ bool ConnectionManager::ConvertSurfaceDrawQuad(
return true;
}
-} // namespace view_manager
+} // namespace mus

Powered by Google App Engine
This is Rietveld 408576698