Index: public/web/WebView.h |
diff --git a/public/web/WebView.h b/public/web/WebView.h |
index 7c9c9b82d328d7ded64228da45a8f36ed5b713dc..72a5c1272b77b630c09fd2bad48c3f55c0c3aa62 100644 |
--- a/public/web/WebView.h |
+++ b/public/web/WebView.h |
@@ -33,6 +33,7 @@ |
#include "../platform/WebColor.h" |
#include "../platform/WebDisplayMode.h" |
+#include "../platform/WebFocusType.h" |
#include "../platform/WebPageVisibilityState.h" |
#include "../platform/WebString.h" |
#include "../platform/WebVector.h" |
@@ -182,6 +183,12 @@ public: |
// viewport space. Returns true if an animation was started. |
virtual bool scrollFocusedNodeIntoRect(const WebRect&) { return false; } |
+ // 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. |
+ virtual void advanceFocusToNextInputField(WebFocusType focusType) { } |
+ |
// 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) { } |