Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 2709813007: Remove WebViewClient::showVirtualKeyboardOnElementFocus() (Closed)
Patch Set: Made the test better Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
2720 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2716 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2721 } 2717 }
2722 2718
2723 std::unique_ptr<InputEventAck> ack( 2719 std::unique_ptr<InputEventAck> ack(
2724 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), 2720 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
2725 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2721 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2726 OnInputEventAck(std::move(ack)); 2722 OnInputEventAck(std::move(ack));
2727 } 2723 }
2728 2724
2729 } // namespace content 2725 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698