| 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 "mash/example/views_examples/views_examples_application_delegate.h" | 5 #include "mash/example/views_examples/views_examples_application_delegate.h" |
| 6 | 6 |
| 7 #include "services/shell/public/cpp/connection.h" | 7 #include "services/shell/public/cpp/connection.h" |
| 8 #include "services/shell/public/cpp/connector.h" | 8 #include "services/shell/public/cpp/connector.h" |
| 9 #include "ui/views/examples/example_base.h" | 9 #include "ui/views/examples/example_base.h" |
| 10 #include "ui/views/examples/examples_window.h" | 10 #include "ui/views/examples/examples_window.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 return true; | 32 return true; |
| 33 } | 33 } |
| 34 | 34 |
| 35 void ViewsExamplesApplicationDelegate::Launch(uint32_t what, | 35 void ViewsExamplesApplicationDelegate::Launch(uint32_t what, |
| 36 mash::mojom::LaunchMode how) { | 36 mash::mojom::LaunchMode how) { |
| 37 views::examples::ShowExamplesWindow(views::examples::QUIT_ON_CLOSE, | 37 views::examples::ShowExamplesWindow(views::examples::QUIT_ON_CLOSE, |
| 38 nullptr, nullptr); | 38 nullptr, nullptr); |
| 39 } | 39 } |
| 40 | 40 |
| 41 void ViewsExamplesApplicationDelegate::Create( | 41 void ViewsExamplesApplicationDelegate::Create( |
| 42 shell::Connection* connection, | 42 const shell::Identity& remote_identity, |
| 43 mash::mojom::LaunchableRequest request) { | 43 mash::mojom::LaunchableRequest request) { |
| 44 bindings_.AddBinding(this, std::move(request)); | 44 bindings_.AddBinding(this, std::move(request)); |
| 45 } | 45 } |
| OLD | NEW |