Index: third_party/WebKit/public/web/WebView.h |
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h |
index 7a8867cae0ebee44a9b33ddeb311485c027d4478..79ae05eca53093e1b5e085a1f4b4b1af515e6c73 100644 |
--- a/third_party/WebKit/public/web/WebView.h |
+++ b/third_party/WebKit/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" |
@@ -50,9 +51,11 @@ class WebCredentialManagerClient; |
class WebDragData; |
class WebFrame; |
class WebHitTestResult; |
+class WebLocalFrame; |
class WebPageImportanceSignals; |
class WebPageOverlay; |
class WebPrerendererClient; |
+class WebRemoteFrame; |
class WebSettings; |
class WebSpellCheckClient; |
class WebString; |
@@ -191,6 +194,11 @@ public: |
// previous element in the tab sequence (if reverse is true). |
virtual void advanceFocus(bool reverse) { } |
+ // Advance the focus from the frame |from| to the next (or previous, |
dcheng
2015/12/04 23:11:01
"next in sequence (determined by WebFocusType)"
alexmos
2015/12/05 00:07:45
Done.
|
+ // depending on the provided WebFocusType) focusable element in frame |to|. |
+ // Used when focus needs to advance to/from a cross-process frame. |
+ virtual void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFrame* to) { } |
+ |
// Animate a scale into the specified rect where multiple targets were |
// found from previous tap gesture. |
// Returns false if it doesn't do any zooming. |