Chromium Code Reviews| 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) { } |
|
tkent
2015/04/17 04:12:35
The name should be advanceFocusToNextFormControl
AKV
2015/04/17 10:16:41
Done.
|
| + |
| // 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) { } |