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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 16836004: Route Android InputMsg operations through RenderWidgetHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also fix RWHVA Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index d3b84c942bf6c9a39c5311a5384687c4357fef5d..093f46fdbace89b4b8bd25c956064e53883ea30e 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -2436,6 +2436,12 @@ void RenderWidgetHostImpl::SelectAll() {
Send(new InputMsg_SelectAll(GetRoutingID()));
RecordAction(UserMetricsAction("SelectAll"));
}
+
+void RenderWidgetHostImpl::Unselect() {
+ Send(new InputMsg_Unselect(GetRoutingID()));
+ RecordAction(UserMetricsAction("Unselect"));
+}
+
bool RenderWidgetHostImpl::GotResponseToLockMouseRequest(bool allowed) {
if (!allowed) {
RejectMouseLockOrUnlockIfNecessary();

Powered by Google App Engine
This is Rietveld 408576698