| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mandoline/ui/phone_ui/phone_browser_application_delegate.h" | 5 #include "mandoline/ui/phone_ui/phone_browser_application_delegate.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "components/view_manager/public/cpp/view.h" | 8 #include "components/mus/public/cpp/view.h" |
| 9 #include "components/view_manager/public/cpp/view_tree_connection.h" | 9 #include "components/mus/public/cpp/view_tree_connection.h" |
| 10 #include "components/view_manager/public/cpp/view_tree_host_factory.h" | 10 #include "components/mus/public/cpp/view_tree_host_factory.h" |
| 11 #include "mojo/application/public/cpp/application_connection.h" | 11 #include "mojo/application/public/cpp/application_connection.h" |
| 12 #include "mojo/application/public/cpp/application_impl.h" | 12 #include "mojo/application/public/cpp/application_impl.h" |
| 13 #include "mojo/converters/geometry/geometry_type_converters.h" | 13 #include "mojo/converters/geometry/geometry_type_converters.h" |
| 14 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 14 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
| 15 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
| 16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 namespace mandoline { | 18 namespace mandoline { |
| 19 | 19 |
| 20 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // PhoneBrowserApplicationDelegate, | 123 // PhoneBrowserApplicationDelegate, |
| 124 // mojo::InterfaceFactory<LaunchHandler> implementation: | 124 // mojo::InterfaceFactory<LaunchHandler> implementation: |
| 125 | 125 |
| 126 void PhoneBrowserApplicationDelegate::Create( | 126 void PhoneBrowserApplicationDelegate::Create( |
| 127 mojo::ApplicationConnection* connection, | 127 mojo::ApplicationConnection* connection, |
| 128 mojo::InterfaceRequest<LaunchHandler> request) { | 128 mojo::InterfaceRequest<LaunchHandler> request) { |
| 129 launch_handler_bindings_.AddBinding(this, request.Pass()); | 129 launch_handler_bindings_.AddBinding(this, request.Pass()); |
| 130 } | 130 } |
| 131 | 131 |
| 132 } // namespace mandoline | 132 } // namespace mandoline |
| OLD | NEW |