| 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 COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 scoped_ptr<mojo::AppRefCount> app_refcount_; | 166 scoped_ptr<mojo::AppRefCount> app_refcount_; |
| 167 mojo::ApplicationImpl* html_document_app_; | 167 mojo::ApplicationImpl* html_document_app_; |
| 168 mojo::URLResponsePtr response_; | 168 mojo::URLResponsePtr response_; |
| 169 mojo::LazyInterfacePtr<mojo::NavigatorHost> navigator_host_; | 169 mojo::LazyInterfacePtr<mojo::NavigatorHost> navigator_host_; |
| 170 blink::WebView* web_view_; | 170 blink::WebView* web_view_; |
| 171 mojo::View* root_; | 171 mojo::View* root_; |
| 172 mojo::ViewManagerClientFactory view_manager_client_factory_; | 172 mojo::ViewManagerClientFactory view_manager_client_factory_; |
| 173 scoped_ptr<WebLayerTreeViewImpl> web_layer_tree_view_impl_; | 173 scoped_ptr<WebLayerTreeViewImpl> web_layer_tree_view_impl_; |
| 174 scoped_refptr<base::SingleThreadTaskRunner> compositor_thread_; | 174 scoped_refptr<base::SingleThreadTaskRunner> compositor_thread_; |
| 175 scoped_ptr<GeolocationClientImpl> geolocation_client_impl_; | 175 scoped_ptr<GeolocationClientImpl> geolocation_client_impl_; |
| 176 mojo::InterfaceRequest<mojo::CompositorFrameReceiver> |
| 177 compositor_frame_receiver_request_; |
| 176 | 178 |
| 177 // HTMLDocument owns these pointers; binding requests after document load. | 179 // HTMLDocument owns these pointers; binding requests after document load. |
| 178 std::set<mojo::InterfaceRequest<mojo::AxProvider>*> ax_provider_requests_; | 180 std::set<mojo::InterfaceRequest<mojo::AxProvider>*> ax_provider_requests_; |
| 179 std::set<AxProviderImpl*> ax_providers_; | 181 std::set<AxProviderImpl*> ax_providers_; |
| 180 | 182 |
| 181 // A flag set on didFinishLoad. | 183 // A flag set on didFinishLoad. |
| 182 bool did_finish_load_ = false; | 184 bool did_finish_load_ = false; |
| 183 | 185 |
| 184 GlobalState* global_state_; | 186 GlobalState* global_state_; |
| 185 | 187 |
| 186 scoped_ptr<TouchHandler> touch_handler_; | 188 scoped_ptr<TouchHandler> touch_handler_; |
| 187 | 189 |
| 188 scoped_ptr<DevToolsAgentImpl> devtools_agent_; | 190 scoped_ptr<DevToolsAgentImpl> devtools_agent_; |
| 189 | 191 |
| 190 DeleteCallback delete_callback_; | 192 DeleteCallback delete_callback_; |
| 191 | 193 |
| 192 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 194 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
| 193 }; | 195 }; |
| 194 | 196 |
| 195 } // namespace html_viewer | 197 } // namespace html_viewer |
| 196 | 198 |
| 197 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 199 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| OLD | NEW |