Index: third_party/WebKit/public/web/WebLocalFrame.h |
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h |
index 3e5bab533159f929d0010e4c7670914fcf63b8b9..557cb8f66317f2ddaf6605ede02717c581f380db 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -11,6 +11,7 @@ |
#include "WebFrameLoadType.h" |
#include "WebHistoryItem.h" |
#include "public/platform/WebCachePolicy.h" |
+#include "public/platform/WebFocusType.h" |
#include "public/platform/WebURLError.h" |
#include "public/platform/WebURLRequest.h" |
#include "public/platform/site_engagement.mojom-shared.h" |
@@ -712,6 +713,13 @@ class WebLocalFrame : public WebFrame { |
// return true, otherwise return false. |
virtual bool IsPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0; |
+ // 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) = 0; |
+ |
// Testing ------------------------------------------------------------------ |
// Dumps the layer tree, used by the accelerated compositor, in |