OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/bind.h" | 6 #include "base/bind.h" |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "mojo/examples/window_manager/window_manager.mojom.h" | 8 #include "mojo/examples/window_manager/window_manager.mojom.h" |
9 #include "mojo/public/cpp/application/application.h" | 9 #include "mojo/public/cpp/application/application.h" |
10 #include "mojo/services/navigation/navigation.mojom.h" | |
11 #include "mojo/services/public/cpp/view_manager/node.h" | 10 #include "mojo/services/public/cpp/view_manager/node.h" |
12 #include "mojo/services/public/cpp/view_manager/view.h" | 11 #include "mojo/services/public/cpp/view_manager/view.h" |
13 #include "mojo/services/public/cpp/view_manager/view_manager.h" | 12 #include "mojo/services/public/cpp/view_manager/view_manager.h" |
14 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" | 13 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" |
15 #include "mojo/services/public/cpp/view_manager/view_observer.h" | 14 #include "mojo/services/public/cpp/view_manager/view_observer.h" |
16 #include "mojo/services/public/interfaces/launcher/launcher.mojom.h" | 15 #include "mojo/services/public/interfaces/launcher/launcher.mojom.h" |
| 16 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h" |
17 #include "ui/events/event_constants.h" | 17 #include "ui/events/event_constants.h" |
18 | 18 |
19 #if defined CreateWindow | 19 #if defined CreateWindow |
20 #undef CreateWindow | 20 #undef CreateWindow |
21 #endif | 21 #endif |
22 | 22 |
23 using mojo::view_manager::Id; | 23 using mojo::view_manager::Id; |
24 using mojo::view_manager::Node; | 24 using mojo::view_manager::Node; |
25 using mojo::view_manager::NodeObserver; | 25 using mojo::view_manager::NodeObserver; |
26 using mojo::view_manager::View; | 26 using mojo::view_manager::View; |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 } | 220 } |
221 | 221 |
222 } // namespace examples | 222 } // namespace examples |
223 | 223 |
224 // static | 224 // static |
225 Application* Application::Create() { | 225 Application* Application::Create() { |
226 return new examples::WindowManager; | 226 return new examples::WindowManager; |
227 } | 227 } |
228 | 228 |
229 } // namespace mojo | 229 } // namespace mojo |
OLD | NEW |