OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef EXAMPLES_UI_SHAPES_SHAPES_APP_H_ |
| 6 #define EXAMPLES_UI_SHAPES_SHAPES_APP_H_ |
| 7 |
| 8 #include "mojo/ui/view_provider_app.h" |
| 9 |
| 10 namespace examples { |
| 11 |
| 12 class ShapesApp : public mojo::ui::ViewProviderApp { |
| 13 public: |
| 14 ShapesApp(); |
| 15 ~ShapesApp() override; |
| 16 |
| 17 bool CreateView( |
| 18 const std::string& connection_url, |
| 19 mojo::InterfaceRequest<mojo::ServiceProvider> services, |
| 20 mojo::ServiceProviderPtr exposed_services, |
| 21 const mojo::ui::ViewProvider::CreateViewCallback& callback) override; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ShapesApp); |
| 25 }; |
| 26 |
| 27 } // namespace examples |
| 28 |
| 29 #endif // EXAMPLES_UI_SHAPES_SHAPES_APP_H_ |
OLD | NEW |