| 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 1885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1896 | 1896 |
| 1897 void RenderViewImpl::setToolTipText(const blink::WebString& text, | 1897 void RenderViewImpl::setToolTipText(const blink::WebString& text, |
| 1898 blink::WebTextDirection hint) { | 1898 blink::WebTextDirection hint) { |
| 1899 RenderWidget::setToolTipText(text, hint); | 1899 RenderWidget::setToolTipText(text, hint); |
| 1900 } | 1900 } |
| 1901 | 1901 |
| 1902 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { | 1902 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { |
| 1903 RenderWidget::setTouchAction(touchAction); | 1903 RenderWidget::setTouchAction(touchAction); |
| 1904 } | 1904 } |
| 1905 | 1905 |
| 1906 void RenderViewImpl::showImeIfNeeded() { | 1906 void RenderViewImpl::showVirtualKeyboard() { |
| 1907 RenderWidget::showImeIfNeeded(); | 1907 RenderWidget::showVirtualKeyboard(); |
| 1908 } | 1908 } |
| 1909 | 1909 |
| 1910 void RenderViewImpl::showUnhandledTapUIIfNeeded( | 1910 void RenderViewImpl::showUnhandledTapUIIfNeeded( |
| 1911 const blink::WebPoint& tappedPosition, | 1911 const blink::WebPoint& tappedPosition, |
| 1912 const blink::WebNode& tappedNode, | 1912 const blink::WebNode& tappedNode, |
| 1913 bool pageChanged) { | 1913 bool pageChanged) { |
| 1914 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, | 1914 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, |
| 1915 pageChanged); | 1915 pageChanged); |
| 1916 } | 1916 } |
| 1917 | 1917 |
| (...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2732 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); | 2732 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); |
| 2733 } | 2733 } |
| 2734 | 2734 |
| 2735 std::unique_ptr<InputEventAck> ack( | 2735 std::unique_ptr<InputEventAck> ack( |
| 2736 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type, | 2736 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type, |
| 2737 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); | 2737 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); |
| 2738 OnInputEventAck(std::move(ack)); | 2738 OnInputEventAck(std::move(ack)); |
| 2739 } | 2739 } |
| 2740 | 2740 |
| 2741 } // namespace content | 2741 } // namespace content |
| OLD | NEW |