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

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

Issue 929903002: Remove cc dependency from ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes in ui/PRESUBMIT.py Created 5 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.h ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/android/build_info.h" 9 #include "base/android/build_info.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "content/public/browser/render_view_host.h" 63 #include "content/public/browser/render_view_host.h"
64 #include "content/public/browser/render_widget_host_iterator.h" 64 #include "content/public/browser/render_widget_host_iterator.h"
65 #include "content/public/common/content_switches.h" 65 #include "content/public/common/content_switches.h"
66 #include "gpu/command_buffer/client/gles2_implementation.h" 66 #include "gpu/command_buffer/client/gles2_implementation.h"
67 #include "gpu/command_buffer/client/gles2_interface.h" 67 #include "gpu/command_buffer/client/gles2_interface.h"
68 #include "gpu/config/gpu_driver_bug_workaround_type.h" 68 #include "gpu/config/gpu_driver_bug_workaround_type.h"
69 #include "skia/ext/image_operations.h" 69 #include "skia/ext/image_operations.h"
70 #include "third_party/khronos/GLES2/gl2.h" 70 #include "third_party/khronos/GLES2/gl2.h"
71 #include "third_party/khronos/GLES2/gl2ext.h" 71 #include "third_party/khronos/GLES2/gl2ext.h"
72 #include "third_party/skia/include/core/SkCanvas.h" 72 #include "third_party/skia/include/core/SkCanvas.h"
73 #include "ui/base/android/window_android.h" 73 #include "ui/android/window_android.h"
74 #include "ui/base/android/window_android_compositor.h" 74 #include "ui/android/window_android_compositor.h"
75 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" 75 #include "ui/events/gesture_detection/gesture_provider_config_helper.h"
76 #include "ui/events/gesture_detection/motion_event.h" 76 #include "ui/events/gesture_detection/motion_event.h"
77 #include "ui/gfx/android/device_display_info.h" 77 #include "ui/gfx/android/device_display_info.h"
78 #include "ui/gfx/android/java_bitmap.h" 78 #include "ui/gfx/android/java_bitmap.h"
79 #include "ui/gfx/android/view_configuration.h" 79 #include "ui/gfx/android/view_configuration.h"
80 #include "ui/gfx/display.h" 80 #include "ui/gfx/display.h"
81 #include "ui/gfx/geometry/dip_util.h" 81 #include "ui/gfx/geometry/dip_util.h"
82 #include "ui/gfx/geometry/size_conversions.h" 82 #include "ui/gfx/geometry/size_conversions.h"
83 #include "ui/gfx/screen.h" 83 #include "ui/gfx/screen.h"
84 #include "ui/touch_selection/touch_selection_controller.h" 84 #include "ui/touch_selection/touch_selection_controller.h"
(...skipping 1859 matching lines...) Expand 10 before | Expand all | Expand 10 after
1944 results->orientationAngle = display.RotationAsDegree(); 1944 results->orientationAngle = display.RotationAsDegree();
1945 results->orientationType = 1945 results->orientationType =
1946 RenderWidgetHostViewBase::GetOrientationTypeForMobile(display); 1946 RenderWidgetHostViewBase::GetOrientationTypeForMobile(display);
1947 gfx::DeviceDisplayInfo info; 1947 gfx::DeviceDisplayInfo info;
1948 results->depth = info.GetBitsPerPixel(); 1948 results->depth = info.GetBitsPerPixel();
1949 results->depthPerComponent = info.GetBitsPerComponent(); 1949 results->depthPerComponent = info.GetBitsPerComponent();
1950 results->isMonochrome = (results->depthPerComponent == 0); 1950 results->isMonochrome = (results->depthPerComponent == 0);
1951 } 1951 }
1952 1952
1953 } // namespace content 1953 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.h ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698