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: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 2708153005: Rename SurfaceIdAllocator to LocalSurfaceIdAllocator (Closed)
Patch Set: Refine comments Created 3 years, 10 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
OLDNEW
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 14 matching lines...) Expand all
25 #include "base/sys_info.h" 25 #include "base/sys_info.h"
26 #include "base/threading/thread_task_runner_handle.h" 26 #include "base/threading/thread_task_runner_handle.h"
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/local_surface_id_allocator.h"
boliu 2017/02/22 17:09:15 remove
35 #include "cc/surfaces/surface.h" 36 #include "cc/surfaces/surface.h"
36 #include "cc/surfaces/surface_factory.h" 37 #include "cc/surfaces/surface_factory.h"
37 #include "cc/surfaces/surface_id_allocator.h"
38 #include "cc/surfaces/surface_manager.h" 38 #include "cc/surfaces/surface_manager.h"
39 #include "cc/trees/layer_tree_host.h" 39 #include "cc/trees/layer_tree_host.h"
40 #include "components/display_compositor/gl_helper.h" 40 #include "components/display_compositor/gl_helper.h"
41 #include "content/browser/accessibility/browser_accessibility_manager_android.h" 41 #include "content/browser/accessibility/browser_accessibility_manager_android.h"
42 #include "content/browser/android/composited_touch_handle_drawable.h" 42 #include "content/browser/android/composited_touch_handle_drawable.h"
43 #include "content/browser/android/content_view_core_impl.h" 43 #include "content/browser/android/content_view_core_impl.h"
44 #include "content/browser/android/overscroll_controller_android.h" 44 #include "content/browser/android/overscroll_controller_android.h"
45 #include "content/browser/android/synchronous_compositor_host.h" 45 #include "content/browser/android/synchronous_compositor_host.h"
46 #include "content/browser/devtools/render_frame_devtools_agent_host.h" 46 #include "content/browser/devtools/render_frame_devtools_agent_host.h"
47 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 47 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
(...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after
1974 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor(); 1974 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor();
1975 if (!compositor) 1975 if (!compositor)
1976 return; 1976 return;
1977 1977
1978 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>( 1978 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>(
1979 overscroll_refresh_handler, compositor, 1979 overscroll_refresh_handler, compositor,
1980 ui::GetScaleFactorForNativeView(GetNativeView())); 1980 ui::GetScaleFactorForNativeView(GetNativeView()));
1981 } 1981 }
1982 1982
1983 } // namespace content 1983 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698