| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "content/browser/renderer_host/dip_util.h" | 54 #include "content/browser/renderer_host/dip_util.h" |
| 55 #include "content/browser/renderer_host/frame_metadata_util.h" | 55 #include "content/browser/renderer_host/frame_metadata_util.h" |
| 56 #include "content/browser/renderer_host/input/input_router_impl.h" | 56 #include "content/browser/renderer_host/input/input_router_impl.h" |
| 57 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h
" | 57 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h
" |
| 58 #include "content/browser/renderer_host/input/web_input_event_builders_android.h
" | 58 #include "content/browser/renderer_host/input/web_input_event_builders_android.h
" |
| 59 #include "content/browser/renderer_host/render_process_host_impl.h" | 59 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 60 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 60 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
| 61 #include "content/browser/renderer_host/render_view_host_impl.h" | 61 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 62 #include "content/browser/renderer_host/render_widget_host_impl.h" | 62 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 63 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 63 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
| 64 #include "content/common/gpu_host_messages.h" | |
| 65 #include "content/common/input_messages.h" | 64 #include "content/common/input_messages.h" |
| 66 #include "content/common/site_isolation_policy.h" | 65 #include "content/common/site_isolation_policy.h" |
| 67 #include "content/common/view_messages.h" | 66 #include "content/common/view_messages.h" |
| 68 #include "content/public/browser/android/compositor.h" | 67 #include "content/public/browser/android/compositor.h" |
| 69 #include "content/public/browser/android/synchronous_compositor_client.h" | 68 #include "content/public/browser/android/synchronous_compositor_client.h" |
| 70 #include "content/public/browser/browser_thread.h" | 69 #include "content/public/browser/browser_thread.h" |
| 71 #include "content/public/browser/devtools_agent_host.h" | 70 #include "content/public/browser/devtools_agent_host.h" |
| 72 #include "content/public/browser/render_view_host.h" | 71 #include "content/public/browser/render_view_host.h" |
| 73 #include "content/public/browser/render_widget_host_iterator.h" | 72 #include "content/public/browser/render_widget_host_iterator.h" |
| 74 #include "content/public/common/content_switches.h" | 73 #include "content/public/common/content_switches.h" |
| (...skipping 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2169 | 2168 |
| 2170 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor(); | 2169 ui::WindowAndroidCompositor* compositor = window_android->GetCompositor(); |
| 2171 if (!compositor) | 2170 if (!compositor) |
| 2172 return; | 2171 return; |
| 2173 | 2172 |
| 2174 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>( | 2173 overscroll_controller_ = base::MakeUnique<OverscrollControllerAndroid>( |
| 2175 overscroll_refresh_handler, compositor, view_.GetDipScale()); | 2174 overscroll_refresh_handler, compositor, view_.GetDipScale()); |
| 2176 } | 2175 } |
| 2177 | 2176 |
| 2178 } // namespace content | 2177 } // namespace content |
| OLD | NEW |