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

Side by Side Diff: mojo/services/html_viewer/weblayertreeview_impl.cc

Issue 640893003: Move mojo/services/public/cpp TypeConverters to mojo/converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore the directory and component structures and target names. Created 6 years, 2 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
« no previous file with comments | « mojo/services/html_viewer/DEPS ('k') | mojo/services/native_viewport/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "mojo/services/html_viewer/weblayertreeview_impl.h" 5 #include "mojo/services/html_viewer/weblayertreeview_impl.h"
6 6
7 #include "base/message_loop/message_loop_proxy.h" 7 #include "base/message_loop/message_loop_proxy.h"
8 #include "cc/blink/web_layer_impl.h" 8 #include "cc/blink/web_layer_impl.h"
9 #include "cc/layers/layer.h" 9 #include "cc/layers/layer.h"
10 #include "cc/output/begin_frame_args.h" 10 #include "cc/output/begin_frame_args.h"
11 #include "cc/trees/layer_tree_host.h" 11 #include "cc/trees/layer_tree_host.h"
12 #include "mojo/cc/context_provider_mojo.h" 12 #include "mojo/cc/context_provider_mojo.h"
13 #include "mojo/cc/output_surface_mojo.h" 13 #include "mojo/cc/output_surface_mojo.h"
14 #include "mojo/services/public/cpp/surfaces/surfaces_type_converters.h" 14 #include "mojo/converters/surfaces/surfaces_type_converters.h"
15 #include "mojo/services/public/cpp/view_manager/view.h" 15 #include "mojo/services/public/cpp/view_manager/view.h"
16 #include "third_party/WebKit/public/web/WebWidget.h" 16 #include "third_party/WebKit/public/web/WebWidget.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 19
20 WebLayerTreeViewImpl::WebLayerTreeViewImpl( 20 WebLayerTreeViewImpl::WebLayerTreeViewImpl(
21 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy, 21 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy,
22 SurfacesServicePtr surfaces_service, 22 SurfacesServicePtr surfaces_service,
23 GpuPtr gpu_service) 23 GpuPtr gpu_service)
24 : widget_(NULL), 24 : widget_(NULL),
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 base::Bind(&WebLayerTreeViewImpl::DidCreateSurfaceOnMainThread, 234 base::Bind(&WebLayerTreeViewImpl::DidCreateSurfaceOnMainThread,
235 main_thread_bound_weak_ptr_, 235 main_thread_bound_weak_ptr_,
236 id)); 236 id));
237 } 237 }
238 238
239 void WebLayerTreeViewImpl::DidCreateSurfaceOnMainThread(cc::SurfaceId id) { 239 void WebLayerTreeViewImpl::DidCreateSurfaceOnMainThread(cc::SurfaceId id) {
240 view_->SetSurfaceId(SurfaceId::From(id)); 240 view_->SetSurfaceId(SurfaceId::From(id));
241 } 241 }
242 242
243 } // namespace mojo 243 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/DEPS ('k') | mojo/services/native_viewport/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698