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

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

Issue 2654703002: Rename showVirtualKeyboard() to showVirtualKeyboardOnElementFocus(). (Closed)
Patch Set: Fixing Android-specific compile error in render_widget_input_handler.cc Created 3 years, 11 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
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1886 matching lines...) Expand 10 before | Expand all | Expand 10 after
1897 1897
1898 void RenderViewImpl::setToolTipText(const blink::WebString& text, 1898 void RenderViewImpl::setToolTipText(const blink::WebString& text,
1899 blink::WebTextDirection hint) { 1899 blink::WebTextDirection hint) {
1900 RenderWidget::setToolTipText(text, hint); 1900 RenderWidget::setToolTipText(text, hint);
1901 } 1901 }
1902 1902
1903 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { 1903 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) {
1904 RenderWidget::setTouchAction(touchAction); 1904 RenderWidget::setTouchAction(touchAction);
1905 } 1905 }
1906 1906
1907 void RenderViewImpl::showVirtualKeyboard() { 1907 void RenderViewImpl::showVirtualKeyboardOnElementFocus() {
1908 RenderWidget::showVirtualKeyboard(); 1908 RenderWidget::showVirtualKeyboardOnElementFocus();
1909 } 1909 }
1910 1910
1911 void RenderViewImpl::showUnhandledTapUIIfNeeded( 1911 void RenderViewImpl::showUnhandledTapUIIfNeeded(
1912 const blink::WebPoint& tappedPosition, 1912 const blink::WebPoint& tappedPosition,
1913 const blink::WebNode& tappedNode, 1913 const blink::WebNode& tappedNode,
1914 bool pageChanged) { 1914 bool pageChanged) {
1915 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, 1915 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode,
1916 pageChanged); 1916 pageChanged);
1917 } 1917 }
1918 1918
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
2731 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2731 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2732 } 2732 }
2733 2733
2734 std::unique_ptr<InputEventAck> ack( 2734 std::unique_ptr<InputEventAck> ack(
2735 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), 2735 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
2736 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2736 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2737 OnInputEventAck(std::move(ack)); 2737 OnInputEventAck(std::move(ack));
2738 } 2738 }
2739 2739
2740 } // namespace content 2740 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698