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

Unified Diff: components/mus/public/cpp/lib/window_surface.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
Index: components/mus/public/cpp/lib/window_surface.cc
diff --git a/components/mus/public/cpp/lib/window_surface.cc b/components/mus/public/cpp/lib/window_surface.cc
index 78c4f55af96f0211d7948019ebf7e454a7943bab..83c4be011dda8a7549267aeaae1e63c8f4ed2e43 100644
--- a/components/mus/public/cpp/lib/window_surface.cc
+++ b/components/mus/public/cpp/lib/window_surface.cc
@@ -16,10 +16,10 @@ void WindowSurface::BindToThread() {
bound_to_thread_ = true;
surface_.Bind(surface_info_.Pass());
client_binding_.reset(
- new mojo::Binding<mojo::SurfaceClient>(this, client_request_.Pass()));
+ new mojo::Binding<mojom::SurfaceClient>(this, client_request_.Pass()));
}
-void WindowSurface::SubmitCompositorFrame(mojo::CompositorFramePtr frame,
+void WindowSurface::SubmitCompositorFrame(mojom::CompositorFramePtr frame,
const mojo::Closure& callback) {
DCHECK(bound_to_thread_);
if (!surface_)
@@ -28,15 +28,15 @@ void WindowSurface::SubmitCompositorFrame(mojo::CompositorFramePtr frame,
}
WindowSurface::WindowSurface(
- mojo::InterfacePtrInfo<mojo::Surface> surface_info,
- mojo::InterfaceRequest<mojo::SurfaceClient> client_request)
+ mojo::InterfacePtrInfo<mojom::Surface> surface_info,
+ mojo::InterfaceRequest<mojom::SurfaceClient> client_request)
: client_(nullptr),
surface_info_(surface_info.Pass()),
client_request_(client_request.Pass()),
bound_to_thread_(false) {}
void WindowSurface::ReturnResources(
- mojo::Array<mojo::ReturnedResourcePtr> resources) {
+ mojo::Array<mojom::ReturnedResourcePtr> resources) {
if (!client_)
return;
client_->OnResourcesReturned(this, resources.Pass());
« no previous file with comments | « components/mus/public/cpp/lib/window_private.h ('k') | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698