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

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

Issue 2839993002: [Android] Adding Smart GO/NEXT feature in Chrome (Closed)
Patch Set: Fixed ImeTest#testSelectActionBarClearedOnTappingOutsideInput flaky failure 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
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 c81d02b7882f05d591cc4c5c0a0c0dbb967e499e..f9db43fe5776412b686a6eda3b6142980e9c0d17 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"
@@ -610,6 +611,13 @@ class WebLocalFrame : public WebFrame {
// If set to false, do not draw scrollbars on this frame's view.
virtual void SetCanHaveScrollbars(bool) = 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

Powered by Google App Engine
This is Rietveld 408576698