| Index: content/browser/renderer_host/render_widget_host_view_android.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| index f29806a0d39156454381aaea89f7707545793c88..0b7cd9c6c433d249c9e1e880961f4f1af3498fce 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_android.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| @@ -1458,11 +1458,6 @@ bool RenderWidgetHostViewAndroid::HasAcceleratedSurface(
|
| return false;
|
| }
|
|
|
| -void RenderWidgetHostViewAndroid::GetScreenInfo(blink::WebScreenInfo* result) {
|
| - // ScreenInfo isn't tied to the widget on Android. Always return the default.
|
| - RenderWidgetHostViewBase::GetDefaultScreenInfo(result);
|
| -}
|
| -
|
| // TODO(jrg): Find out the implications and answer correctly here,
|
| // as we are returning the WebView and not root window bounds.
|
| gfx::Rect RenderWidgetHostViewAndroid::GetBoundsInRootWindow() {
|
| @@ -1958,24 +1953,6 @@ void RenderWidgetHostViewAndroid::OnStylusSelectTap(base::TimeTicks time,
|
| SendGestureEvent(long_press);
|
| }
|
|
|
| -// static
|
| -void RenderWidgetHostViewBase::GetDefaultScreenInfo(
|
| - blink::WebScreenInfo* results) {
|
| - const display::Display& display =
|
| - display::Screen::GetScreen()->GetPrimaryDisplay();
|
| - results->rect = display.bounds();
|
| - // TODO(husky): Remove any system controls from availableRect.
|
| - results->availableRect = display.work_area();
|
| - results->deviceScaleFactor = display.device_scale_factor();
|
| - results->orientationAngle = display.RotationAsDegree();
|
| - results->orientationType =
|
| - RenderWidgetHostViewBase::GetOrientationTypeForMobile(display);
|
| - gfx::DeviceDisplayInfo info;
|
| - results->depth = display.color_depth();
|
| - results->depthPerComponent = display.depth_per_component();
|
| - results->isMonochrome = (results->depthPerComponent == 0);
|
| -}
|
| -
|
| void RenderWidgetHostViewAndroid::ComputeEventLatencyOSTouchHistograms(
|
| const ui::MotionEvent& event) {
|
| base::TimeTicks event_time = event.GetEventTime();
|
|
|