| 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 1880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1891 | 1891 |
| 1892 void RenderViewImpl::setToolTipText(const blink::WebString& text, | 1892 void RenderViewImpl::setToolTipText(const blink::WebString& text, |
| 1893 blink::WebTextDirection hint) { | 1893 blink::WebTextDirection hint) { |
| 1894 RenderWidget::setToolTipText(text, hint); | 1894 RenderWidget::setToolTipText(text, hint); |
| 1895 } | 1895 } |
| 1896 | 1896 |
| 1897 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { | 1897 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { |
| 1898 RenderWidget::setTouchAction(touchAction); | 1898 RenderWidget::setTouchAction(touchAction); |
| 1899 } | 1899 } |
| 1900 | 1900 |
| 1901 void RenderViewImpl::showVirtualKeyboardOnElementFocus() { | |
| 1902 RenderWidget::showVirtualKeyboardOnElementFocus(); | |
| 1903 } | |
| 1904 | |
| 1905 void RenderViewImpl::showUnhandledTapUIIfNeeded( | 1901 void RenderViewImpl::showUnhandledTapUIIfNeeded( |
| 1906 const blink::WebPoint& tappedPosition, | 1902 const blink::WebPoint& tappedPosition, |
| 1907 const blink::WebNode& tappedNode, | 1903 const blink::WebNode& tappedNode, |
| 1908 bool pageChanged) { | 1904 bool pageChanged) { |
| 1909 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, | 1905 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, |
| 1910 pageChanged); | 1906 pageChanged); |
| 1911 } | 1907 } |
| 1912 | 1908 |
| 1913 blink::WebWidgetClient* RenderViewImpl::widgetClient() { | 1909 blink::WebWidgetClient* RenderViewImpl::widgetClient() { |
| 1914 return static_cast<RenderWidget*>(this); | 1910 return static_cast<RenderWidget*>(this); |
| (...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2719 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); | 2715 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); |
| 2720 } | 2716 } |
| 2721 | 2717 |
| 2722 std::unique_ptr<InputEventAck> ack( | 2718 std::unique_ptr<InputEventAck> ack( |
| 2723 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), | 2719 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), |
| 2724 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); | 2720 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); |
| 2725 OnInputEventAck(std::move(ack)); | 2721 OnInputEventAck(std::move(ack)); |
| 2726 } | 2722 } |
| 2727 | 2723 |
| 2728 } // namespace content | 2724 } // namespace content |
| OLD | NEW |