Index: third_party/WebKit/public/web/WebFrame.h |
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h |
index 1be0587e0a5a6182400299102705af18891eca38..52915ce4d77896f1ab36beda87c97ad0c4298559 100644 |
--- a/third_party/WebKit/public/web/WebFrame.h |
+++ b/third_party/WebKit/public/web/WebFrame.h |
@@ -31,6 +31,7 @@ |
#ifndef WebFrame_h |
#define WebFrame_h |
+#include "../platform/WebFocusType.h" |
#include "WebIconURL.h" |
#include "WebNode.h" |
#include "public/platform/WebCanvas.h" |
@@ -420,6 +421,13 @@ class WebFrame { |
return const_cast<WebFrame*>(this)->toImplBase(); |
} |
+ // 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; |
EhsanK
2017/04/26 21:31:59
I suggest removing this to WebLocalFrame. I don't
AKVT
2017/04/27 15:07:02
Done.
|
+ |
// Returns the frame inside a given frame or iframe element. Returns 0 if |
// the given element is not a frame, iframe or if the frame is empty. |
BLINK_EXPORT static WebFrame* fromFrameOwnerElement(const WebElement&); |