| 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/renderer/render_view_impl.h" |     5 #include "content/renderer/render_view_impl.h" | 
|     6  |     6  | 
|     7 #include <algorithm> |     7 #include <algorithm> | 
|     8 #include <cmath> |     8 #include <cmath> | 
|     9 #include <memory> |     9 #include <memory> | 
|    10 #include <utility> |    10 #include <utility> | 
| (...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1763 } |  1763 } | 
|  1764  |  1764  | 
|  1765 void RenderViewImpl::DidAutoResize(const blink::WebSize& newSize) { |  1765 void RenderViewImpl::DidAutoResize(const blink::WebSize& newSize) { | 
|  1766   RenderWidget::DidAutoResize(newSize); |  1766   RenderWidget::DidAutoResize(newSize); | 
|  1767 } |  1767 } | 
|  1768  |  1768  | 
|  1769 void RenderViewImpl::DidOverscroll( |  1769 void RenderViewImpl::DidOverscroll( | 
|  1770     const blink::WebFloatSize& overscrollDelta, |  1770     const blink::WebFloatSize& overscrollDelta, | 
|  1771     const blink::WebFloatSize& accumulatedOverscroll, |  1771     const blink::WebFloatSize& accumulatedOverscroll, | 
|  1772     const blink::WebFloatPoint& positionInViewport, |  1772     const blink::WebFloatPoint& positionInViewport, | 
|  1773     const blink::WebFloatSize& velocityInViewport) { |  1773     const blink::WebFloatSize& velocityInViewport, | 
 |  1774     const blink::WebScrollBoundaryBehavior& behavior) { | 
|  1774   RenderWidget::DidOverscroll(overscrollDelta, accumulatedOverscroll, |  1775   RenderWidget::DidOverscroll(overscrollDelta, accumulatedOverscroll, | 
|  1775                               positionInViewport, velocityInViewport); |  1776                               positionInViewport, velocityInViewport, behavior); | 
|  1776 } |  1777 } | 
|  1777  |  1778  | 
|  1778 void RenderViewImpl::HasTouchEventHandlers(bool has_handlers) { |  1779 void RenderViewImpl::HasTouchEventHandlers(bool has_handlers) { | 
|  1779   RenderWidget::HasTouchEventHandlers(has_handlers); |  1780   RenderWidget::HasTouchEventHandlers(has_handlers); | 
|  1780 } |  1781 } | 
|  1781  |  1782  | 
|  1782 blink::WebRect RenderViewImpl::RootWindowRect() { |  1783 blink::WebRect RenderViewImpl::RootWindowRect() { | 
|  1783   return RenderWidget::WindowRect(); |  1784   return RenderWidget::WindowRect(); | 
|  1784 } |  1785 } | 
|  1785  |  1786  | 
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2530     std::move(callback).Run(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, latency_info, |  2531     std::move(callback).Run(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, latency_info, | 
|  2531                             nullptr, base::nullopt); |  2532                             nullptr, base::nullopt); | 
|  2532     return; |  2533     return; | 
|  2533   } |  2534   } | 
|  2534   idle_user_detector_->ActivityDetected(); |  2535   idle_user_detector_->ActivityDetected(); | 
|  2535   RenderWidget::HandleInputEvent(input_event, latency_info, |  2536   RenderWidget::HandleInputEvent(input_event, latency_info, | 
|  2536                                  std::move(callback)); |  2537                                  std::move(callback)); | 
|  2537 } |  2538 } | 
|  2538  |  2539  | 
|  2539 }  // namespace content |  2540 }  // namespace content | 
| OLD | NEW |