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

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

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 91b0a48210b7bf6f9b18854a1a8d822a05a732bf..f29bb92634946121171990f573a0c3682873c487 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 mus {
+namespace mojo {
class ViewSurfaceClient;
class View;
@@ -28,10 +28,10 @@
// TODO(fsamuel): Add a callback.
void SubmitCompositorFrame(mojo::CompositorFramePtr frame);
- void set_client(ViewSurfaceClient* client) { client_ = client; }
+ void set_client(mojo::ViewSurfaceClient* client) { client_ = client; }
private:
- friend class View;
+ friend class mojo::View;
ViewSurface(mojo::InterfacePtrInfo<mojo::Surface> surface_info,
mojo::InterfaceRequest<mojo::SurfaceClient> client_request);
@@ -40,7 +40,7 @@
void ReturnResources(
mojo::Array<mojo::ReturnedResourcePtr> resources) override;
- ViewSurfaceClient* client_;
+ mojo::ViewSurfaceClient* client_;
mojo::InterfacePtrInfo<mojo::Surface> surface_info_;
mojo::InterfaceRequest<mojo::SurfaceClient> client_request_;
mojo::SurfacePtr surface_;
@@ -48,6 +48,6 @@
bool bound_to_thread_;
};
-} // namespace mus
+} // namespace mojo
#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