| 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/desktop_ui/browser_manager.h" | 5 #include "mandoline/ui/desktop_ui/browser_manager.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_observer.h" | 9 #include "components/mus/public/cpp/view_observer.h" |
| 10 #include "mandoline/ui/desktop_ui/browser_window.h" | 10 #include "mandoline/ui/desktop_ui/browser_window.h" |
| 11 | 11 |
| 12 namespace mandoline { | 12 namespace mandoline { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 const char kGoogleURL[] = "http://www.google.com"; | 16 const char kGoogleURL[] = "http://www.google.com"; |
| 17 | 17 |
| 18 } // namespace | 18 } // namespace |
| 19 | 19 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 connection->AddService<LaunchHandler>(this); | 70 connection->AddService<LaunchHandler>(this); |
| 71 return true; | 71 return true; |
| 72 } | 72 } |
| 73 | 73 |
| 74 void BrowserManager::Create(mojo::ApplicationConnection* connection, | 74 void BrowserManager::Create(mojo::ApplicationConnection* connection, |
| 75 mojo::InterfaceRequest<LaunchHandler> request) { | 75 mojo::InterfaceRequest<LaunchHandler> request) { |
| 76 launch_handler_bindings_.AddBinding(this, request.Pass()); | 76 launch_handler_bindings_.AddBinding(this, request.Pass()); |
| 77 } | 77 } |
| 78 | 78 |
| 79 } // namespace mandoline | 79 } // namespace mandoline |
| OLD | NEW |