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 #ifndef SKY_VIEWER_DOCUMENT_VIEW_H_ | 5 #ifndef SKY_VIEWER_DOCUMENT_VIEW_H_ |
6 #define SKY_VIEWER_DOCUMENT_VIEW_H_ | 6 #define SKY_VIEWER_DOCUMENT_VIEW_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "mojo/public/cpp/application/lazy_interface_ptr.h" | 10 #include "mojo/public/cpp/application/lazy_interface_ptr.h" |
11 #include "mojo/public/cpp/application/service_provider_impl.h" | 11 #include "mojo/public/cpp/application/service_provider_impl.h" |
12 #include "mojo/public/cpp/bindings/interface_impl.h" | 12 #include "mojo/public/cpp/bindings/interface_impl.h" |
13 #include "mojo/public/cpp/bindings/strong_binding.h" | 13 #include "mojo/public/cpp/bindings/strong_binding.h" |
14 #include "mojo/public/interfaces/application/application.mojom.h" | 14 #include "mojo/public/interfaces/application/application.mojom.h" |
15 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom.
h" | 15 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom.
h" |
16 #include "mojo/services/navigation/public/interfaces/navigation.mojom.h" | 16 #include "mojo/services/navigation/public/interfaces/navigation.mojom.h" |
17 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 17 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
18 #include "mojo/services/service_registry/public/interfaces/service_registry.mojo
m.h" | 18 #include "mojo/services/service_registry/public/interfaces/service_registry.mojo
m.h" |
19 #include "mojo/services/view_manager/public/cpp/view_manager_client_factory.h" | 19 #include "mojo/services/view_manager/public/cpp/view_manager_client_factory.h" |
20 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" | 20 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" |
21 #include "mojo/services/view_manager/public/cpp/view_observer.h" | 21 #include "mojo/services/view_manager/public/cpp/view_observer.h" |
22 #include "sky/compositor/layer_client.h" | |
23 #include "sky/compositor/layer_host_client.h" | |
24 #include "sky/engine/public/platform/ServiceProvider.h" | 22 #include "sky/engine/public/platform/ServiceProvider.h" |
25 #include "sky/engine/public/sky/sky_view.h" | 23 #include "sky/engine/public/sky/sky_view.h" |
26 #include "sky/engine/public/sky/sky_view_client.h" | 24 #include "sky/engine/public/sky/sky_view_client.h" |
27 #include "sky/engine/public/web/WebFrameClient.h" | 25 #include "sky/engine/public/web/WebFrameClient.h" |
28 #include "sky/engine/public/web/WebViewClient.h" | 26 #include "sky/engine/public/web/WebViewClient.h" |
29 #include "sky/services/testing/test_harness.mojom.h" | 27 #include "sky/services/testing/test_harness.mojom.h" |
| 28 #include "sky/viewer/compositor/layer_client.h" |
| 29 #include "sky/viewer/compositor/layer_host_client.h" |
30 #include "ui/events/gestures/gesture_types.h" | 30 #include "ui/events/gestures/gesture_types.h" |
31 | 31 |
32 namespace mojo { | 32 namespace mojo { |
33 class ViewManager; | 33 class ViewManager; |
34 class View; | 34 class View; |
35 } | 35 } |
36 | 36 |
37 namespace sky { | 37 namespace sky { |
38 class Rasterizer; | 38 class Rasterizer; |
39 class RasterizerBitmap; | 39 class RasterizerBitmap; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 service_registry_service_provider_binding_; | 158 service_registry_service_provider_binding_; |
159 | 159 |
160 base::WeakPtrFactory<DocumentView> weak_factory_; | 160 base::WeakPtrFactory<DocumentView> weak_factory_; |
161 | 161 |
162 DISALLOW_COPY_AND_ASSIGN(DocumentView); | 162 DISALLOW_COPY_AND_ASSIGN(DocumentView); |
163 }; | 163 }; |
164 | 164 |
165 } // namespace sky | 165 } // namespace sky |
166 | 166 |
167 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ | 167 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ |
OLD | NEW |