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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "content/browser/renderer_host/compositor_impl_android.h" | 50 #include "content/browser/renderer_host/compositor_impl_android.h" |
51 #include "content/browser/renderer_host/dip_util.h" | 51 #include "content/browser/renderer_host/dip_util.h" |
52 #include "content/browser/renderer_host/frame_metadata_util.h" | 52 #include "content/browser/renderer_host/frame_metadata_util.h" |
53 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h
" | 53 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h
" |
54 #include "content/browser/renderer_host/input/ui_touch_selection_helper.h" | 54 #include "content/browser/renderer_host/input/ui_touch_selection_helper.h" |
55 #include "content/browser/renderer_host/input/web_input_event_builders_android.h
" | 55 #include "content/browser/renderer_host/input/web_input_event_builders_android.h
" |
56 #include "content/browser/renderer_host/input/web_input_event_util.h" | 56 #include "content/browser/renderer_host/input/web_input_event_util.h" |
57 #include "content/browser/renderer_host/render_process_host_impl.h" | 57 #include "content/browser/renderer_host/render_process_host_impl.h" |
58 #include "content/browser/renderer_host/render_view_host_impl.h" | 58 #include "content/browser/renderer_host/render_view_host_impl.h" |
59 #include "content/browser/renderer_host/render_widget_host_impl.h" | 59 #include "content/browser/renderer_host/render_widget_host_impl.h" |
60 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | |
61 #include "content/common/gpu_host_messages.h" | 60 #include "content/common/gpu_host_messages.h" |
62 #include "content/common/gpu_process_launch_causes.h" | 61 #include "content/common/gpu_process_launch_causes.h" |
63 #include "content/common/input/did_overscroll_params.h" | 62 #include "content/common/input/did_overscroll_params.h" |
64 #include "content/common/input_messages.h" | 63 #include "content/common/input_messages.h" |
65 #include "content/common/view_messages.h" | 64 #include "content/common/view_messages.h" |
66 #include "content/public/browser/android/compositor.h" | 65 #include "content/public/browser/android/compositor.h" |
67 #include "content/public/browser/browser_thread.h" | 66 #include "content/public/browser/browser_thread.h" |
68 #include "content/public/browser/devtools_agent_host.h" | 67 #include "content/public/browser/devtools_agent_host.h" |
69 #include "content/public/browser/render_view_host.h" | 68 #include "content/public/browser/render_view_host.h" |
70 #include "content/public/browser/render_widget_host_iterator.h" | 69 #include "content/public/browser/render_widget_host_iterator.h" |
(...skipping 1943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2014 results->orientationAngle = display.RotationAsDegree(); | 2013 results->orientationAngle = display.RotationAsDegree(); |
2015 results->orientationType = | 2014 results->orientationType = |
2016 RenderWidgetHostViewBase::GetOrientationTypeForMobile(display); | 2015 RenderWidgetHostViewBase::GetOrientationTypeForMobile(display); |
2017 gfx::DeviceDisplayInfo info; | 2016 gfx::DeviceDisplayInfo info; |
2018 results->depth = info.GetBitsPerPixel(); | 2017 results->depth = info.GetBitsPerPixel(); |
2019 results->depthPerComponent = info.GetBitsPerComponent(); | 2018 results->depthPerComponent = info.GetBitsPerComponent(); |
2020 results->isMonochrome = (results->depthPerComponent == 0); | 2019 results->isMonochrome = (results->depthPerComponent == 0); |
2021 } | 2020 } |
2022 | 2021 |
2023 } // namespace content | 2022 } // namespace content |
OLD | NEW |