Index: third_party/WebKit/public/web/WebView.h |
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h |
index b4b742e0ad74270332f44caeb38c57b4d5b979b1..235b22c66a260be9ac7b8aff559ba778a4e057cd 100644 |
--- a/third_party/WebKit/public/web/WebView.h |
+++ b/third_party/WebKit/public/web/WebView.h |
@@ -216,6 +216,13 @@ class WebView : protected WebWidget { |
// previous element in the tab sequence (if reverse is true). |
virtual void advanceFocus(bool reverse) {} |
+ // Advance the focus of the WebView to next text input element from current |
+ // input field wrt sequential navigation with TAB or Shift + TAB |
+ // WebFocusTypeForward simulates TAB and WebFocusTypeBackward simulates |
+ // Shift + TAB. (Will be extended to other form Controls like Select element |
+ // , Checkbox, Radio etc.) |
+ virtual void advanceFocusInForm(WebFocusType focusType) {} |
nasko
2017/04/25 21:32:45
Please move this API to WebFrame. Forms are specif
AKVT
2017/04/26 10:33:04
Done.
|
+ |
// Advance the focus from the frame |from| to the next in sequence |
// (determined by WebFocusType) focusable element in frame |to|. Used when |
// focus needs to advance to/from a cross-process frame. |