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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1080693002: Implementation of Smart GO NEXT feature in Android Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed indentation and naming convention issues. Created 5 years, 8 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/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index ca9d608125b98c3a6c70134462624547e992ed24..398b3fc8f13cfaaab8d10506cbc9490289995b42 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2123,6 +2123,14 @@ void WebContentsImpl::Unselect() {
RecordAction(base::UserMetricsAction("Unselect"));
}
+void WebContentsImpl::AdvanceFocusToNextFormControl(bool forward) {
+ RenderViewHost* render_view_host = GetRenderViewHost();
+ if (!render_view_host)
+ return;
+ render_view_host->Send(new InputMsg_AdvanceFocusToNextFormControl(
+ render_view_host->GetRoutingID(), forward));
+}
+
void WebContentsImpl::Replace(const base::string16& word) {
RenderFrameHost* focused_frame = GetFocusedFrame();
if (!focused_frame)

Powered by Google App Engine
This is Rietveld 408576698