| 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 "base/android/sys_utils.h" | 9 #include "base/android/sys_utils.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "cc/trees/layer_tree_host.h" | 28 #include "cc/trees/layer_tree_host.h" |
| 29 #include "content/browser/accessibility/browser_accessibility_manager_android.h" | 29 #include "content/browser/accessibility/browser_accessibility_manager_android.h" |
| 30 #include "content/browser/android/content_view_core_impl.h" | 30 #include "content/browser/android/content_view_core_impl.h" |
| 31 #include "content/browser/android/in_process/synchronous_compositor_impl.h" | 31 #include "content/browser/android/in_process/synchronous_compositor_impl.h" |
| 32 #include "content/browser/android/overscroll_glow.h" | 32 #include "content/browser/android/overscroll_glow.h" |
| 33 #include "content/browser/devtools/render_view_devtools_agent_host.h" | 33 #include "content/browser/devtools/render_view_devtools_agent_host.h" |
| 34 #include "content/browser/gpu/compositor_util.h" | 34 #include "content/browser/gpu/compositor_util.h" |
| 35 #include "content/browser/gpu/gpu_data_manager_impl.h" | 35 #include "content/browser/gpu/gpu_data_manager_impl.h" |
| 36 #include "content/browser/gpu/gpu_process_host_ui_shim.h" | 36 #include "content/browser/gpu/gpu_process_host_ui_shim.h" |
| 37 #include "content/browser/gpu/gpu_surface_tracker.h" | 37 #include "content/browser/gpu/gpu_surface_tracker.h" |
| 38 #include "content/browser/media/android/media_web_contents_observer.h" | 38 #include "content/browser/media/media_web_contents_observer.h" |
| 39 #include "content/browser/renderer_host/compositor_impl_android.h" | 39 #include "content/browser/renderer_host/compositor_impl_android.h" |
| 40 #include "content/browser/renderer_host/dip_util.h" | 40 #include "content/browser/renderer_host/dip_util.h" |
| 41 #include "content/browser/renderer_host/image_transport_factory_android.h" | 41 #include "content/browser/renderer_host/image_transport_factory_android.h" |
| 42 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h
" | 42 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h
" |
| 43 #include "content/browser/renderer_host/input/web_input_event_util.h" | 43 #include "content/browser/renderer_host/input/web_input_event_util.h" |
| 44 #include "content/browser/renderer_host/render_process_host_impl.h" | 44 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 45 #include "content/browser/renderer_host/render_view_host_impl.h" | 45 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 46 #include "content/browser/renderer_host/render_widget_host_impl.h" | 46 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 47 #include "content/common/gpu/client/gl_helper.h" | 47 #include "content/common/gpu/client/gl_helper.h" |
| 48 #include "content/common/gpu/gpu_messages.h" | 48 #include "content/common/gpu/gpu_messages.h" |
| (...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1440 results->availableRect = display.work_area(); | 1440 results->availableRect = display.work_area(); |
| 1441 results->deviceScaleFactor = display.device_scale_factor(); | 1441 results->deviceScaleFactor = display.device_scale_factor(); |
| 1442 results->orientationAngle = display.RotationAsDegree(); | 1442 results->orientationAngle = display.RotationAsDegree(); |
| 1443 gfx::DeviceDisplayInfo info; | 1443 gfx::DeviceDisplayInfo info; |
| 1444 results->depth = info.GetBitsPerPixel(); | 1444 results->depth = info.GetBitsPerPixel(); |
| 1445 results->depthPerComponent = info.GetBitsPerComponent(); | 1445 results->depthPerComponent = info.GetBitsPerComponent(); |
| 1446 results->isMonochrome = (results->depthPerComponent == 0); | 1446 results->isMonochrome = (results->depthPerComponent == 0); |
| 1447 } | 1447 } |
| 1448 | 1448 |
| 1449 } // namespace content | 1449 } // namespace content |
| OLD | NEW |