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 #ifndef MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ | 5 #ifndef MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ |
6 #define MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ | 6 #define MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "components/mus/public/cpp/window_observer.h" | 12 #include "components/mus/public/cpp/window_observer.h" |
13 #include "components/mus/public/cpp/window_tree_delegate.h" | 13 #include "components/mus/public/cpp/window_tree_delegate.h" |
14 #include "components/mus/public/interfaces/window_tree_host.mojom.h" | 14 #include "components/mus/public/interfaces/window_tree_host.mojom.h" |
15 #include "components/web_view/public/cpp/web_view.h" | 15 #include "components/web_view/public/cpp/web_view.h" |
16 #include "components/web_view/public/interfaces/web_view.mojom.h" | 16 #include "components/web_view/public/interfaces/web_view.mojom.h" |
17 // TODO(beng): move this file somewhere common. | 17 // TODO(beng): move this file somewhere common. |
18 #include "mandoline/ui/desktop_ui/public/interfaces/launch_handler.mojom.h" | 18 #include "mandoline/ui/desktop_ui/public/interfaces/launch_handler.mojom.h" |
19 #include "mojo/application/public/cpp/application_delegate.h" | |
20 #include "mojo/application/public/cpp/interface_factory.h" | |
21 #include "mojo/common/weak_binding_set.h" | 19 #include "mojo/common/weak_binding_set.h" |
| 20 #include "mojo/shell/public/cpp/application_delegate.h" |
| 21 #include "mojo/shell/public/cpp/interface_factory.h" |
22 | 22 |
23 namespace mus { | 23 namespace mus { |
24 class View; | 24 class View; |
25 } | 25 } |
26 | 26 |
27 namespace mandoline { | 27 namespace mandoline { |
28 | 28 |
29 class PhoneBrowserApplicationDelegate | 29 class PhoneBrowserApplicationDelegate |
30 : public mojo::ApplicationDelegate, | 30 : public mojo::ApplicationDelegate, |
31 public LaunchHandler, | 31 public LaunchHandler, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 mojo::String default_url_; | 82 mojo::String default_url_; |
83 | 83 |
84 mojo::WeakBindingSet<LaunchHandler> launch_handler_bindings_; | 84 mojo::WeakBindingSet<LaunchHandler> launch_handler_bindings_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(PhoneBrowserApplicationDelegate); | 86 DISALLOW_COPY_AND_ASSIGN(PhoneBrowserApplicationDelegate); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace mandoline | 89 } // namespace mandoline |
90 | 90 |
91 #endif // MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ | 91 #endif // MANDOLINE_UI_PHONE_UI_PHONE_BROWSER_APPLICATION_DELEGATE_H_ |
OLD | NEW |