| 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 | 10 |
| (...skipping 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1836 const blink::WebFloatPoint& positionInViewport, | 1836 const blink::WebFloatPoint& positionInViewport, |
| 1837 const blink::WebFloatSize& velocityInViewport) { | 1837 const blink::WebFloatSize& velocityInViewport) { |
| 1838 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll, | 1838 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll, |
| 1839 positionInViewport, velocityInViewport); | 1839 positionInViewport, velocityInViewport); |
| 1840 } | 1840 } |
| 1841 | 1841 |
| 1842 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) { | 1842 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) { |
| 1843 RenderWidget::hasTouchEventHandlers(has_handlers); | 1843 RenderWidget::hasTouchEventHandlers(has_handlers); |
| 1844 } | 1844 } |
| 1845 | 1845 |
| 1846 void RenderViewImpl::handlePotentialTextSuggestionTap() { |
| 1847 RenderWidget::handlePotentialTextSuggestionTap(); |
| 1848 } |
| 1849 |
| 1846 void RenderViewImpl::resetInputMethod() { | 1850 void RenderViewImpl::resetInputMethod() { |
| 1847 RenderWidget::resetInputMethod(); | 1851 RenderWidget::resetInputMethod(); |
| 1848 } | 1852 } |
| 1849 | 1853 |
| 1850 blink::WebRect RenderViewImpl::rootWindowRect() { | 1854 blink::WebRect RenderViewImpl::rootWindowRect() { |
| 1851 return RenderWidget::windowRect(); | 1855 return RenderWidget::windowRect(); |
| 1852 } | 1856 } |
| 1853 | 1857 |
| 1854 blink::WebScreenInfo RenderViewImpl::screenInfo() { | 1858 blink::WebScreenInfo RenderViewImpl::screenInfo() { |
| 1855 return RenderWidget::screenInfo(); | 1859 return RenderWidget::screenInfo(); |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2685 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); | 2689 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); |
| 2686 } | 2690 } |
| 2687 | 2691 |
| 2688 std::unique_ptr<InputEventAck> ack( | 2692 std::unique_ptr<InputEventAck> ack( |
| 2689 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), | 2693 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), |
| 2690 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); | 2694 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); |
| 2691 OnInputEventAck(std::move(ack)); | 2695 OnInputEventAck(std::move(ack)); |
| 2692 } | 2696 } |
| 2693 | 2697 |
| 2694 } // namespace content | 2698 } // namespace content |
| OLD | NEW |