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

Unified Diff: components/mus/public/cpp/window_surface.h

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/public/cpp/window_observer.h ('k') | components/mus/public/cpp/window_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/window_surface.h
diff --git a/components/mus/public/cpp/window_surface.h b/components/mus/public/cpp/window_surface.h
index 284e48cfde89796418455de2054257cd7bc575ba..2153891bbf6195e2c07d536a9b18b6fa763504b6 100644
--- a/components/mus/public/cpp/window_surface.h
+++ b/components/mus/public/cpp/window_surface.h
@@ -18,7 +18,7 @@ class Window;
// A WindowSurface is wrapper to simplify submitting CompositorFrames to Views,
// and receiving ReturnedResources.
-class WindowSurface : public mojo::SurfaceClient {
+class WindowSurface : public mojom::SurfaceClient {
public:
~WindowSurface() override;
@@ -26,7 +26,7 @@ class WindowSurface : public mojo::SurfaceClient {
// object.
void BindToThread();
- void SubmitCompositorFrame(mojo::CompositorFramePtr frame,
+ void SubmitCompositorFrame(mojom::CompositorFramePtr frame,
const mojo::Closure& callback);
void set_client(WindowSurfaceClient* client) { client_ = client; }
@@ -34,18 +34,18 @@ class WindowSurface : public mojo::SurfaceClient {
private:
friend class Window;
- WindowSurface(mojo::InterfacePtrInfo<mojo::Surface> surface_info,
- mojo::InterfaceRequest<mojo::SurfaceClient> client_request);
+ WindowSurface(mojo::InterfacePtrInfo<mojom::Surface> surface_info,
+ mojo::InterfaceRequest<mojom::SurfaceClient> client_request);
// SurfaceClient implementation:
void ReturnResources(
- mojo::Array<mojo::ReturnedResourcePtr> resources) override;
+ mojo::Array<mojom::ReturnedResourcePtr> resources) override;
WindowSurfaceClient* client_;
- mojo::InterfacePtrInfo<mojo::Surface> surface_info_;
- mojo::InterfaceRequest<mojo::SurfaceClient> client_request_;
- mojo::SurfacePtr surface_;
- scoped_ptr<mojo::Binding<mojo::SurfaceClient>> client_binding_;
+ mojo::InterfacePtrInfo<mojom::Surface> surface_info_;
+ mojo::InterfaceRequest<mojom::SurfaceClient> client_request_;
+ mojom::SurfacePtr surface_;
+ scoped_ptr<mojo::Binding<mojom::SurfaceClient>> client_binding_;
bool bound_to_thread_;
};
« no previous file with comments | « components/mus/public/cpp/window_observer.h ('k') | components/mus/public/cpp/window_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698