Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Android Build Created 4 years, 9 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 #include <utility> 8 #include <utility>
9 9
10 #include "base/android/build_info.h" 10 #include "base/android/build_info.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "content/browser/renderer_host/dip_util.h" 49 #include "content/browser/renderer_host/dip_util.h"
50 #include "content/browser/renderer_host/frame_metadata_util.h" 50 #include "content/browser/renderer_host/frame_metadata_util.h"
51 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h " 51 #include "content/browser/renderer_host/input/synthetic_gesture_target_android.h "
52 #include "content/browser/renderer_host/input/ui_touch_selection_helper.h" 52 #include "content/browser/renderer_host/input/ui_touch_selection_helper.h"
53 #include "content/browser/renderer_host/input/web_input_event_builders_android.h " 53 #include "content/browser/renderer_host/input/web_input_event_builders_android.h "
54 #include "content/browser/renderer_host/input/web_input_event_util.h" 54 #include "content/browser/renderer_host/input/web_input_event_util.h"
55 #include "content/browser/renderer_host/render_process_host_impl.h" 55 #include "content/browser/renderer_host/render_process_host_impl.h"
56 #include "content/browser/renderer_host/render_view_host_impl.h" 56 #include "content/browser/renderer_host/render_view_host_impl.h"
57 #include "content/browser/renderer_host/render_widget_host_impl.h" 57 #include "content/browser/renderer_host/render_widget_host_impl.h"
58 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 58 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
59 #include "content/common/gpu/gpu_process_launch_causes.h"
60 #include "content/common/input/did_overscroll_params.h" 59 #include "content/common/input/did_overscroll_params.h"
61 #include "content/common/input_messages.h" 60 #include "content/common/input_messages.h"
62 #include "content/common/view_messages.h" 61 #include "content/common/view_messages.h"
63 #include "content/gpu/gpu_host_messages.h" 62 #include "content/gpu/gpu_host_messages.h"
64 #include "content/public/browser/android/compositor.h" 63 #include "content/public/browser/android/compositor.h"
65 #include "content/public/browser/browser_thread.h" 64 #include "content/public/browser/browser_thread.h"
66 #include "content/public/browser/devtools_agent_host.h" 65 #include "content/public/browser/devtools_agent_host.h"
67 #include "content/public/browser/render_view_host.h" 66 #include "content/public/browser/render_view_host.h"
68 #include "content/public/browser/render_widget_host_iterator.h" 67 #include "content/public/browser/render_widget_host_iterator.h"
69 #include "content/public/common/content_switches.h" 68 #include "content/public/common/content_switches.h"
70 #include "gpu/command_buffer/client/gles2_implementation.h" 69 #include "gpu/command_buffer/client/gles2_implementation.h"
71 #include "gpu/command_buffer/client/gles2_interface.h" 70 #include "gpu/command_buffer/client/gles2_interface.h"
72 #include "gpu/config/gpu_driver_bug_workaround_type.h" 71 #include "gpu/config/gpu_driver_bug_workaround_type.h"
72 #include "gpu/ipc/common/gpu_process_launch_causes.h"
73 #include "ipc/ipc_message_macros.h" 73 #include "ipc/ipc_message_macros.h"
74 #include "ipc/ipc_message_start.h" 74 #include "ipc/ipc_message_start.h"
75 #include "skia/ext/image_operations.h" 75 #include "skia/ext/image_operations.h"
76 #include "third_party/khronos/GLES2/gl2.h" 76 #include "third_party/khronos/GLES2/gl2.h"
77 #include "third_party/khronos/GLES2/gl2ext.h" 77 #include "third_party/khronos/GLES2/gl2ext.h"
78 #include "third_party/skia/include/core/SkCanvas.h" 78 #include "third_party/skia/include/core/SkCanvas.h"
79 #include "ui/android/window_android.h" 79 #include "ui/android/window_android.h"
80 #include "ui/android/window_android_compositor.h" 80 #include "ui/android/window_android_compositor.h"
81 #include "ui/events/blink/blink_event_util.h" 81 #include "ui/events/blink/blink_event_util.h"
82 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" 82 #include "ui/events/gesture_detection/gesture_provider_config_helper.h"
(...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 results->orientationAngle = display.RotationAsDegree(); 2004 results->orientationAngle = display.RotationAsDegree();
2005 results->orientationType = 2005 results->orientationType =
2006 RenderWidgetHostViewBase::GetOrientationTypeForMobile(display); 2006 RenderWidgetHostViewBase::GetOrientationTypeForMobile(display);
2007 gfx::DeviceDisplayInfo info; 2007 gfx::DeviceDisplayInfo info;
2008 results->depth = info.GetBitsPerPixel(); 2008 results->depth = info.GetBitsPerPixel();
2009 results->depthPerComponent = info.GetBitsPerComponent(); 2009 results->depthPerComponent = info.GetBitsPerComponent();
2010 results->isMonochrome = (results->depthPerComponent == 0); 2010 results->isMonochrome = (results->depthPerComponent == 0);
2011 } 2011 }
2012 2012
2013 } // namespace content 2013 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698