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

Unified Diff: mojo/examples/surfaces_app/child_impl.h

Issue 413353002: Remove extraneous namespaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits and merge Created 6 years, 5 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 | « mojo/examples/surfaces_app/child.mojom ('k') | mojo/examples/surfaces_app/child_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/surfaces_app/child_impl.h
diff --git a/mojo/examples/surfaces_app/child_impl.h b/mojo/examples/surfaces_app/child_impl.h
index cdd5263d73a16c4df471b8dd5c2e0d27280a5d7c..338b17f3d104f70a9400fcdebda837b88f7ed878 100644
--- a/mojo/examples/surfaces_app/child_impl.h
+++ b/mojo/examples/surfaces_app/child_impl.h
@@ -30,7 +30,7 @@ class Surface;
namespace examples {
// Simple example of a child app using surfaces.
-class ChildImpl : public InterfaceImpl<Child>, public surfaces::SurfaceClient {
+class ChildImpl : public InterfaceImpl<Child>, public SurfaceClient {
public:
class Context {
public:
@@ -40,26 +40,26 @@ class ChildImpl : public InterfaceImpl<Child>, public surfaces::SurfaceClient {
explicit ChildImpl(ApplicationConnection* surfaces_service_connection);
virtual ~ChildImpl();
- // surfaces::SurfaceClient implementation
+ // SurfaceClient implementation
virtual void SetIdNamespace(uint32_t id_namespace) OVERRIDE;
virtual void ReturnResources(
- Array<surfaces::ReturnedResourcePtr> resources) OVERRIDE;
+ Array<ReturnedResourcePtr> resources) OVERRIDE;
private:
// Child implementation.
virtual void ProduceFrame(
- surfaces::ColorPtr color,
+ ColorPtr color,
SizePtr size,
- const mojo::Callback<void(surfaces::SurfaceIdPtr id)>& callback) OVERRIDE;
+ const mojo::Callback<void(SurfaceIdPtr id)>& callback) OVERRIDE;
void Draw();
SkColor color_;
gfx::Size size_;
scoped_ptr<cc::SurfaceIdAllocator> allocator_;
- surfaces::SurfacePtr surface_;
+ SurfacePtr surface_;
cc::SurfaceId id_;
- mojo::Callback<void(surfaces::SurfaceIdPtr id)> produce_callback_;
+ mojo::Callback<void(SurfaceIdPtr id)> produce_callback_;
DISALLOW_COPY_AND_ASSIGN(ChildImpl);
};
« no previous file with comments | « mojo/examples/surfaces_app/child.mojom ('k') | mojo/examples/surfaces_app/child_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698