Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2948593002: Relanding [Android] Adding Smart GO/NEXT feature in Chrome (Closed)
Patch Set: Rebased the patch Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/platform/WebTextInputType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/public/platform/WebTextInputType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698