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

Unified Diff: components/mus/gles2/command_buffer_impl.cc

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 years, 2 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
« no previous file with comments | « components/mus/gles2/command_buffer_impl.h ('k') | components/mus/gles2/command_buffer_type_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_impl.cc
diff --git a/components/mus/gles2/command_buffer_impl.cc b/components/mus/gles2/command_buffer_impl.cc
index cc05053a98998d52f73a66292de168b6ae658b05..965619985dbce54578bbe1a8f831dc32ccfd04bc 100644
--- a/components/mus/gles2/command_buffer_impl.cc
+++ b/components/mus/gles2/command_buffer_impl.cc
@@ -36,7 +36,7 @@ class CommandBufferImpl::CommandBufferDriverClientImpl
};
CommandBufferImpl::CommandBufferImpl(
- mojo::InterfaceRequest<mojo::CommandBuffer> request,
+ mojo::InterfaceRequest<mus::mojom::CommandBuffer> request,
scoped_refptr<GpuState> gpu_state,
scoped_ptr<CommandBufferDriver> driver)
: gpu_state_(gpu_state),
@@ -53,9 +53,9 @@ CommandBufferImpl::CommandBufferImpl(
}
void CommandBufferImpl::Initialize(
- mojo::CommandBufferSyncClientPtr sync_client,
- mojo::CommandBufferSyncPointClientPtr sync_point_client,
- mojo::CommandBufferLostContextObserverPtr loss_observer,
+ mus::mojom::CommandBufferSyncClientPtr sync_client,
+ mus::mojom::CommandBufferSyncPointClientPtr sync_point_client,
+ mus::mojom::CommandBufferLostContextObserverPtr loss_observer,
mojo::ScopedSharedBufferHandle shared_state,
mojo::Array<int32_t> attribs) {
sync_point_client_ = sync_point_client.Pass();
@@ -151,8 +151,9 @@ CommandBufferImpl::~CommandBufferImpl() {
}
void CommandBufferImpl::BindToRequest(
- mojo::InterfaceRequest<mojo::CommandBuffer> request) {
- binding_.reset(new mojo::Binding<mojo::CommandBuffer>(this, request.Pass()));
+ mojo::InterfaceRequest<mus::mojom::CommandBuffer> request) {
+ binding_.reset(
+ new mojo::Binding<mus::mojom::CommandBuffer>(this, request.Pass()));
binding_->set_connection_error_handler([this]() { OnConnectionError(); });
}
« no previous file with comments | « components/mus/gles2/command_buffer_impl.h ('k') | components/mus/gles2/command_buffer_type_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698