| 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 #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 <stddef.h> |
| 8 |
| 7 #include "base/thread_task_runner_handle.h" | 9 #include "base/thread_task_runner_handle.h" |
| 8 #include "cc/blink/web_layer_impl.h" | 10 #include "cc/blink/web_layer_impl.h" |
| 9 #include "cc/layers/layer.h" | 11 #include "cc/layers/layer.h" |
| 10 #include "cc/output/begin_frame_args.h" | 12 #include "cc/output/begin_frame_args.h" |
| 11 #include "cc/scheduler/begin_frame_source.h" | 13 #include "cc/scheduler/begin_frame_source.h" |
| 12 #include "cc/trees/layer_tree_host.h" | 14 #include "cc/trees/layer_tree_host.h" |
| 13 #include "components/mus/public/cpp/context_provider.h" | 15 #include "components/mus/public/cpp/context_provider.h" |
| 14 #include "components/mus/public/cpp/output_surface.h" | 16 #include "components/mus/public/cpp/output_surface.h" |
| 15 #include "components/mus/public/cpp/window.h" | 17 #include "components/mus/public/cpp/window.h" |
| 16 #include "mojo/converters/surfaces/surfaces_type_converters.h" | 18 #include "mojo/converters/surfaces/surfaces_type_converters.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 use_anchor, | 236 use_anchor, |
| 235 new_page_scale, | 237 new_page_scale, |
| 236 duration); | 238 duration); |
| 237 } | 239 } |
| 238 | 240 |
| 239 void WebLayerTreeViewImpl::setNeedsAnimate() { | 241 void WebLayerTreeViewImpl::setNeedsAnimate() { |
| 240 layer_tree_host_->SetNeedsAnimate(); | 242 layer_tree_host_->SetNeedsAnimate(); |
| 241 } | 243 } |
| 242 | 244 |
| 243 } // namespace html_viewer | 245 } // namespace html_viewer |
| OLD | NEW |