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

Unified Diff: public/web/WebView.h

Issue 939603002: Adding support for Smart GO NEXT feature in Android Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« Source/web/WebViewImpl.cpp ('K') | « public/web/WebTextInputType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index 8ff848729fcba8a3c6966909e126833277645d45..33967a6357fa684162240cef8ba88cfa2d66a631 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -184,6 +184,10 @@ public:
// window space.
virtual void scrollFocusedNodeIntoRect(const WebRect&) { }
+ // Advance the focus of the WebView to next text input element from current
+ // by following the direction (forward/backward).
+ virtual void advanceFocusToNextInputField(bool direction) { }
bcwhite 2015/02/24 17:06:23 "direction" doesn't clearly define which matches "
yosin_UTC9 2015/02/25 01:25:36 Please considering use |WebFocusType| enum for rep
AKV 2015/04/08 18:38:12 Done. Thanks
AKV 2015/04/08 18:38:12 Done. Thanks
+
// Advance the focus of the WebView forward to the next element or to the
// previous element in the tab sequence (if reverse is true).
virtual void advanceFocus(bool reverse) { }
« Source/web/WebViewImpl.cpp ('K') | « public/web/WebTextInputType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698