Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: components/html_viewer/html_document.h

Issue 1281663002: Mandoline: Allow submitting CompositorFrames directly to mojo::Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet anther rebase (YAR!!!) Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 scoped_ptr<mojo::AppRefCount> app_refcount_; 169 scoped_ptr<mojo::AppRefCount> app_refcount_;
170 mojo::ApplicationImpl* html_document_app_; 170 mojo::ApplicationImpl* html_document_app_;
171 mojo::URLResponsePtr response_; 171 mojo::URLResponsePtr response_;
172 mojo::LazyInterfacePtr<mojo::NavigatorHost> navigator_host_; 172 mojo::LazyInterfacePtr<mojo::NavigatorHost> navigator_host_;
173 blink::WebView* web_view_; 173 blink::WebView* web_view_;
174 mojo::View* root_; 174 mojo::View* root_;
175 mojo::ViewManagerClientFactory view_manager_client_factory_; 175 mojo::ViewManagerClientFactory view_manager_client_factory_;
176 scoped_ptr<WebLayerTreeViewImpl> web_layer_tree_view_impl_; 176 scoped_ptr<WebLayerTreeViewImpl> web_layer_tree_view_impl_;
177 scoped_refptr<base::SingleThreadTaskRunner> compositor_thread_; 177 scoped_refptr<base::SingleThreadTaskRunner> compositor_thread_;
178 scoped_ptr<GeolocationClientImpl> geolocation_client_impl_; 178 scoped_ptr<GeolocationClientImpl> geolocation_client_impl_;
179 mojo::InterfaceRequest<mojo::CompositorFrameReceiver>
180 compositor_frame_receiver_request_;
179 181
180 // HTMLDocument owns these pointers; binding requests after document load. 182 // HTMLDocument owns these pointers; binding requests after document load.
181 std::set<mojo::InterfaceRequest<mojo::AxProvider>*> ax_provider_requests_; 183 std::set<mojo::InterfaceRequest<mojo::AxProvider>*> ax_provider_requests_;
182 std::set<AxProviderImpl*> ax_providers_; 184 std::set<AxProviderImpl*> ax_providers_;
183 185
184 // A flag set on didFinishLoad. 186 // A flag set on didFinishLoad.
185 bool did_finish_load_ = false; 187 bool did_finish_load_ = false;
186 188
187 GlobalState* global_state_; 189 GlobalState* global_state_;
188 190
189 scoped_ptr<TouchHandler> touch_handler_; 191 scoped_ptr<TouchHandler> touch_handler_;
190 192
191 scoped_ptr<DevToolsAgentImpl> devtools_agent_; 193 scoped_ptr<DevToolsAgentImpl> devtools_agent_;
192 194
193 DeleteCallback delete_callback_; 195 DeleteCallback delete_callback_;
194 196
195 // This object is only valid in the context of performance tests. 197 // This object is only valid in the context of performance tests.
196 tracing::StartupPerformanceDataCollectorPtr 198 tracing::StartupPerformanceDataCollectorPtr
197 startup_performance_data_collector_; 199 startup_performance_data_collector_;
198 200
199 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); 201 DISALLOW_COPY_AND_ASSIGN(HTMLDocument);
200 }; 202 };
201 203
202 } // namespace html_viewer 204 } // namespace html_viewer
203 205
204 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ 206 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/html_document.cc » ('j') | components/html_viewer/html_frame.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698