| 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 SERVICES_SKY_DOCUMENT_VIEW_H_ |
| 6 #define SKY_VIEWER_DOCUMENT_VIEW_H_ | 6 #define SERVICES_SKY_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/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 13 #include "mojo/public/interfaces/application/application.mojom.h" | 13 #include "mojo/public/interfaces/application/application.mojom.h" |
| 14 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom.
h" | 14 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom.
h" |
| 15 #include "mojo/services/navigation/public/interfaces/navigation.mojom.h" | 15 #include "mojo/services/navigation/public/interfaces/navigation.mojom.h" |
| 16 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 16 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
| 17 #include "mojo/services/service_registry/public/interfaces/service_registry.mojo
m.h" | 17 #include "mojo/services/service_registry/public/interfaces/service_registry.mojo
m.h" |
| 18 #include "mojo/services/view_manager/public/cpp/view_manager_client_factory.h" | 18 #include "mojo/services/view_manager/public/cpp/view_manager_client_factory.h" |
| 19 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" | 19 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" |
| 20 #include "mojo/services/view_manager/public/cpp/view_observer.h" | 20 #include "mojo/services/view_manager/public/cpp/view_observer.h" |
| 21 #include "services/sky/compositor/layer_client.h" |
| 22 #include "services/sky/compositor/layer_host_client.h" |
| 21 #include "sky/engine/public/platform/ServiceProvider.h" | 23 #include "sky/engine/public/platform/ServiceProvider.h" |
| 22 #include "sky/engine/public/sky/sky_view.h" | 24 #include "sky/engine/public/sky/sky_view.h" |
| 23 #include "sky/engine/public/sky/sky_view_client.h" | 25 #include "sky/engine/public/sky/sky_view_client.h" |
| 24 #include "sky/services/testing/test_harness.mojom.h" | 26 #include "sky/services/testing/test_harness.mojom.h" |
| 25 #include "sky/viewer/compositor/layer_client.h" | |
| 26 #include "sky/viewer/compositor/layer_host_client.h" | |
| 27 #include "ui/events/gestures/gesture_types.h" | 27 #include "ui/events/gestures/gesture_types.h" |
| 28 | 28 |
| 29 namespace mojo { | 29 namespace mojo { |
| 30 class ViewManager; | 30 class ViewManager; |
| 31 class View; | 31 class View; |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace sky { | 34 namespace sky { |
| 35 class Rasterizer; | 35 class Rasterizer; |
| 36 class RasterizerBitmap; | 36 class RasterizerBitmap; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 scoped_ptr<mojo::StrongBinding<mojo::ServiceProvider>> | 128 scoped_ptr<mojo::StrongBinding<mojo::ServiceProvider>> |
| 129 service_registry_service_provider_binding_; | 129 service_registry_service_provider_binding_; |
| 130 | 130 |
| 131 base::WeakPtrFactory<DocumentView> weak_factory_; | 131 base::WeakPtrFactory<DocumentView> weak_factory_; |
| 132 | 132 |
| 133 DISALLOW_COPY_AND_ASSIGN(DocumentView); | 133 DISALLOW_COPY_AND_ASSIGN(DocumentView); |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 } // namespace sky | 136 } // namespace sky |
| 137 | 137 |
| 138 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ | 138 #endif // SERVICES_SKY_DOCUMENT_VIEW_H_ |
| OLD | NEW |