Chromium Code Reviews| 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 239facbbe1765e129726c00303af7fff7e0fa76d..65402384119a50938150adc8791187e33b8ddb88 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" |
| @@ -540,6 +541,13 @@ class WebLocalFrame : public WebFrame { |
| // Returns the WebInputMethodController associated with this local frame. |
| virtual WebInputMethodController* GetInputMethodController() const = 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 |
|
tkent
2017/05/14 23:24:59
Controls -> controls
Select -> select
AKVT
2017/05/15 06:40:42
Done.
|
| + // , Checkbox, Radio etc.) |
|
tkent
2017/05/14 23:24:59
Move "," to the end of the previous line.
Checkbo
AKVT
2017/05/15 06:40:42
Done.
|
| + virtual void AdvanceFocusInForm(WebFocusType) = 0; |
| + |
| protected: |
| explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) {} |