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 e8798beb7f77b18f8bc9d03c4429653f2a823879..04cb04f56d251ed6808ebc402154586af197754d 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -13,6 +13,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" |
@@ -741,6 +742,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 |