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

Unified Diff: mojo/services/html_viewer/weblayertreeview_impl.h

Issue 869343004: Remove use of mojo.SurfacesService interface in html_viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/html_viewer/html_document.cc ('k') | mojo/services/html_viewer/weblayertreeview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/weblayertreeview_impl.h
diff --git a/mojo/services/html_viewer/weblayertreeview_impl.h b/mojo/services/html_viewer/weblayertreeview_impl.h
index f8a883ead2fd410054f3010b0096ab108d21fcbd..c4e420ae983cb6d32343548611c965f4c46786c6 100644
--- a/mojo/services/html_viewer/weblayertreeview_impl.h
+++ b/mojo/services/html_viewer/weblayertreeview_impl.h
@@ -40,7 +40,7 @@ class WebLayerTreeViewImpl : public blink::WebLayerTreeView,
public:
WebLayerTreeViewImpl(
scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy,
- mojo::SurfacesServicePtr surfaces_service,
+ mojo::SurfacePtr surface,
mojo::GpuPtr gpu_service);
virtual ~WebLayerTreeViewImpl();
@@ -116,17 +116,13 @@ class WebLayerTreeViewImpl : public blink::WebLayerTreeView,
void DidCreateSurface(cc::SurfaceId id) override;
private:
- void OnSurfaceConnectionCreated(mojo::SurfacePtr surface,
- uint32_t id_namespace);
void DidCreateSurfaceOnMainThread(cc::SurfaceId id);
// widget_ and view_ will outlive us.
blink::WebWidget* widget_;
mojo::View* view_;
scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
- mojo::SurfacesServicePtr surfaces_service_;
scoped_ptr<cc::OutputSurface> output_surface_;
- mojo::GpuPtr gpu_service_;
scoped_refptr<base::SingleThreadTaskRunner>
main_thread_compositor_task_runner_;
base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_;
« no previous file with comments | « mojo/services/html_viewer/html_document.cc ('k') | mojo/services/html_viewer/weblayertreeview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698