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

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

Issue 2709813007: Remove WebViewClient::showVirtualKeyboardOnElementFocus() (Closed)
Patch Set: Fixing the layout tests (verifying frameWidget != nullptr) Created 3 years, 10 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 1878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 1889
1890 void RenderViewImpl::setToolTipText(const blink::WebString& text, 1890 void RenderViewImpl::setToolTipText(const blink::WebString& text,
1891 blink::WebTextDirection hint) { 1891 blink::WebTextDirection hint) {
1892 RenderWidget::setToolTipText(text, hint); 1892 RenderWidget::setToolTipText(text, hint);
1893 } 1893 }
1894 1894
1895 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { 1895 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) {
1896 RenderWidget::setTouchAction(touchAction); 1896 RenderWidget::setTouchAction(touchAction);
1897 } 1897 }
1898 1898
1899 void RenderViewImpl::showVirtualKeyboardOnElementFocus() {
1900 RenderWidget::showVirtualKeyboardOnElementFocus();
1901 }
1902
1903 void RenderViewImpl::showUnhandledTapUIIfNeeded( 1899 void RenderViewImpl::showUnhandledTapUIIfNeeded(
1904 const blink::WebPoint& tappedPosition, 1900 const blink::WebPoint& tappedPosition,
1905 const blink::WebNode& tappedNode, 1901 const blink::WebNode& tappedNode,
1906 bool pageChanged) { 1902 bool pageChanged) {
1907 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, 1903 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode,
1908 pageChanged); 1904 pageChanged);
1909 } 1905 }
1910 1906
1911 blink::WebWidgetClient* RenderViewImpl::widgetClient() { 1907 blink::WebWidgetClient* RenderViewImpl::widgetClient() {
1912 return static_cast<RenderWidget*>(this); 1908 return static_cast<RenderWidget*>(this);
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
2718 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2714 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2719 } 2715 }
2720 2716
2721 std::unique_ptr<InputEventAck> ack( 2717 std::unique_ptr<InputEventAck> ack(
2722 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), 2718 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
2723 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2719 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2724 OnInputEventAck(std::move(ack)); 2720 OnInputEventAck(std::move(ack));
2725 } 2721 }
2726 2722
2727 } // namespace content 2723 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698