Index: examples/ui/shapes/shapes_app.h |
diff --git a/examples/ui/shapes/shapes_app.h b/examples/ui/shapes/shapes_app.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4aba71c6bdc422f25382f7ad3d949c795d59cd8e |
--- /dev/null |
+++ b/examples/ui/shapes/shapes_app.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef EXAMPLES_UI_SHAPES_SHAPES_APP_H_ |
+#define EXAMPLES_UI_SHAPES_SHAPES_APP_H_ |
+ |
+#include "mojo/ui/view_provider_app.h" |
+ |
+namespace examples { |
+ |
+class ShapesApp : public mojo::ui::ViewProviderApp { |
+ public: |
+ ShapesApp(); |
+ ~ShapesApp() override; |
+ |
+ bool CreateView( |
+ const std::string& connection_url, |
+ mojo::InterfaceRequest<mojo::ServiceProvider> services, |
+ mojo::ServiceProviderPtr exposed_services, |
+ const mojo::ui::ViewProvider::CreateViewCallback& callback) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ShapesApp); |
+}; |
+ |
+} // namespace examples |
+ |
+#endif // EXAMPLES_UI_SHAPES_SHAPES_APP_H_ |