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

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

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
« no previous file with comments | « components/mus/public/cpp/view_property.h ('k') | components/mus/public/cpp/view_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/view_surface.h
diff --git a/components/mus/public/cpp/view_surface.h b/components/mus/public/cpp/view_surface.h
index f29bb92634946121171990f573a0c3682873c487..91b0a48210b7bf6f9b18854a1a8d822a05a732bf 100644
--- a/components/mus/public/cpp/view_surface.h
+++ b/components/mus/public/cpp/view_surface.h
@@ -10,7 +10,7 @@
#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr_info.h"
-namespace mojo {
+namespace mus {
class ViewSurfaceClient;
class View;
@@ -28,10 +28,10 @@ class ViewSurface : public mojo::SurfaceClient {
// TODO(fsamuel): Add a callback.
void SubmitCompositorFrame(mojo::CompositorFramePtr frame);
- void set_client(mojo::ViewSurfaceClient* client) { client_ = client; }
+ void set_client(ViewSurfaceClient* client) { client_ = client; }
private:
- friend class mojo::View;
+ friend class View;
ViewSurface(mojo::InterfacePtrInfo<mojo::Surface> surface_info,
mojo::InterfaceRequest<mojo::SurfaceClient> client_request);
@@ -40,7 +40,7 @@ class ViewSurface : public mojo::SurfaceClient {
void ReturnResources(
mojo::Array<mojo::ReturnedResourcePtr> resources) override;
- mojo::ViewSurfaceClient* client_;
+ ViewSurfaceClient* client_;
mojo::InterfacePtrInfo<mojo::Surface> surface_info_;
mojo::InterfaceRequest<mojo::SurfaceClient> client_request_;
mojo::SurfacePtr surface_;
@@ -48,6 +48,6 @@ class ViewSurface : public mojo::SurfaceClient {
bool bound_to_thread_;
};
-} // namespace mojo
+} // namespace mus
#endif // COMPONENTS_MUS_PUBLIC_CPP_VIEW_SURFACE_H_
« no previous file with comments | « components/mus/public/cpp/view_property.h ('k') | components/mus/public/cpp/view_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698