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

Side by Side Diff: content/renderer/render_widget.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_widget.h ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('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_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1731 ConvertWindowPointToViewport(client_point), screen_point, op); 1731 ConvertWindowPointToViewport(client_point), screen_point, op);
1732 } 1732 }
1733 1733
1734 void RenderWidget::OnDragSourceSystemDragEnded() { 1734 void RenderWidget::OnDragSourceSystemDragEnded() {
1735 if (!GetWebWidget()) 1735 if (!GetWebWidget())
1736 return; 1736 return;
1737 1737
1738 static_cast<WebFrameWidget*>(GetWebWidget())->dragSourceSystemDragEnded(); 1738 static_cast<WebFrameWidget*>(GetWebWidget())->dragSourceSystemDragEnded();
1739 } 1739 }
1740 1740
1741 void RenderWidget::showVirtualKeyboard() { 1741 void RenderWidget::showVirtualKeyboardOnElementFocus() {
1742 ShowVirtualKeyboard(); 1742 ShowVirtualKeyboard();
1743 1743
1744 // TODO(rouslan): Fix ChromeOS and Windows 8 behavior of autofill popup with 1744 // TODO(rouslan): Fix ChromeOS and Windows 8 behavior of autofill popup with
1745 // virtual keyboard. 1745 // virtual keyboard.
1746 #if !defined(OS_ANDROID) 1746 #if !defined(OS_ANDROID)
1747 FocusChangeComplete(); 1747 FocusChangeComplete();
1748 #endif 1748 #endif
1749 } 1749 }
1750 1750
1751 ui::TextInputType RenderWidget::GetTextInputType() { 1751 ui::TextInputType RenderWidget::GetTextInputType() {
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
2263 // browser side (https://crbug.com/669219). 2263 // browser side (https://crbug.com/669219).
2264 // If there is no WebFrameWidget, then there will be no 2264 // If there is no WebFrameWidget, then there will be no
2265 // InputMethodControllers for a WebLocalFrame. 2265 // InputMethodControllers for a WebLocalFrame.
2266 return nullptr; 2266 return nullptr;
2267 } 2267 }
2268 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) 2268 return static_cast<blink::WebFrameWidget*>(GetWebWidget())
2269 ->getActiveWebInputMethodController(); 2269 ->getActiveWebInputMethodController();
2270 } 2270 }
2271 2271
2272 } // namespace content 2272 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_widget.h ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698