| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/renderer_host/render_widget_host_view_android.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_android.h" |
| 6 | 6 |
| 7 #include <android/bitmap.h> | 7 #include <android/bitmap.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "base/threading/worker_pool.h" | 27 #include "base/threading/worker_pool.h" |
| 28 #include "cc/layers/layer.h" | 28 #include "cc/layers/layer.h" |
| 29 #include "cc/layers/surface_layer.h" | 29 #include "cc/layers/surface_layer.h" |
| 30 #include "cc/output/compositor_frame.h" | 30 #include "cc/output/compositor_frame.h" |
| 31 #include "cc/output/copy_output_request.h" | 31 #include "cc/output/copy_output_request.h" |
| 32 #include "cc/output/copy_output_result.h" | 32 #include "cc/output/copy_output_result.h" |
| 33 #include "cc/output/latency_info_swap_promise.h" | 33 #include "cc/output/latency_info_swap_promise.h" |
| 34 #include "cc/resources/single_release_callback.h" | 34 #include "cc/resources/single_release_callback.h" |
| 35 #include "cc/surfaces/surface.h" | 35 #include "cc/surfaces/surface.h" |
| 36 #include "cc/surfaces/surface_factory.h" | 36 #include "cc/surfaces/surface_factory.h" |
| 37 #include "cc/surfaces/surface_id_allocator.h" | |
| 38 #include "cc/surfaces/surface_manager.h" | 37 #include "cc/surfaces/surface_manager.h" |
| 39 #include "cc/trees/layer_tree_host.h" | 38 #include "cc/trees/layer_tree_host.h" |
| 40 #include "components/display_compositor/gl_helper.h" | 39 #include "components/display_compositor/gl_helper.h" |
| 41 #include "content/browser/accessibility/browser_accessibility_manager_android.h" | 40 #include "content/browser/accessibility/browser_accessibility_manager_android.h" |
| 42 #include "content/browser/android/composited_touch_handle_drawable.h" | 41 #include "content/browser/android/composited_touch_handle_drawable.h" |
| 43 #include "content/browser/android/content_view_core_impl.h" | 42 #include "content/browser/android/content_view_core_impl.h" |
| 44 #include "content/browser/android/overscroll_controller_android.h" | 43 #include "content/browser/android/overscroll_controller_android.h" |
| 45 #include "content/browser/android/synchronous_compositor_host.h" | 44 #include "content/browser/android/synchronous_compositor_host.h" |
| 46 #include "content/browser/devtools/render_frame_devtools_agent_host.h" | 45 #include "content/browser/devtools/render_frame_devtools_agent_host.h" |
| 47 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" | 46 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" |
| (...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1974 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor(); | 1973 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor(); |
| 1975 if (!compositor) | 1974 if (!compositor) |
| 1976 return; | 1975 return; |
| 1977 | 1976 |
| 1978 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>( | 1977 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>( |
| 1979 overscroll_refresh_handler, compositor, | 1978 overscroll_refresh_handler, compositor, |
| 1980 ui::GetScaleFactorForNativeView(GetNativeView())); | 1979 ui::GetScaleFactorForNativeView(GetNativeView())); |
| 1981 } | 1980 } |
| 1982 | 1981 |
| 1983 } // namespace content | 1982 } // namespace content |
| OLD | NEW |