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

Side by Side Diff: components/html_viewer/web_layer_tree_view_impl.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 #include "components/html_viewer/web_layer_tree_view_impl.h" 5 #include "components/html_viewer/web_layer_tree_view_impl.h"
6 6
7 #include "base/thread_task_runner_handle.h" 7 #include "base/thread_task_runner_handle.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/scheduler/begin_frame_source.h" 11 #include "cc/scheduler/begin_frame_source.h"
12 #include "cc/trees/layer_tree_host.h" 12 #include "cc/trees/layer_tree_host.h"
13 #include "components/mus/public/cpp/context_provider.h" 13 #include "components/mus/public/cpp/context_provider.h"
14 #include "components/mus/public/cpp/output_surface.h" 14 #include "components/mus/public/cpp/output_surface.h"
15 #include "components/mus/public/cpp/window.h" 15 #include "components/mus/public/cpp/window.h"
16 #include "mojo/converters/surfaces/surfaces_type_converters.h" 16 #include "mojo/converters/surfaces/surfaces_type_converters.h"
17 #include "mojo/public/c/gles2/gles2.h"
17 #include "third_party/WebKit/public/web/WebWidget.h" 18 #include "third_party/WebKit/public/web/WebWidget.h"
18 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h"
19 #include "ui/gfx/buffer_types.h" 19 #include "ui/gfx/buffer_types.h"
20 20
21 namespace html_viewer { 21 namespace html_viewer {
22 22
23 WebLayerTreeViewImpl::WebLayerTreeViewImpl( 23 WebLayerTreeViewImpl::WebLayerTreeViewImpl(
24 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner, 24 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner,
25 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 25 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
26 cc::TaskGraphRunner* task_graph_runner) 26 cc::TaskGraphRunner* task_graph_runner)
27 : widget_(nullptr), 27 : widget_(nullptr),
28 window_(nullptr), 28 window_(nullptr),
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 use_anchor, 231 use_anchor,
232 new_page_scale, 232 new_page_scale,
233 duration); 233 duration);
234 } 234 }
235 235
236 void WebLayerTreeViewImpl::setNeedsAnimate() { 236 void WebLayerTreeViewImpl::setNeedsAnimate() {
237 layer_tree_host_->SetNeedsAnimate(); 237 layer_tree_host_->SetNeedsAnimate();
238 } 238 }
239 239
240 } // namespace html_viewer 240 } // namespace html_viewer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698