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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2474323002: Implement WebContentsViewChildFrame::TakeFocus. (Closed)
Patch Set: Remove logging code. Created 3 years, 11 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: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index c43170372a5bb434b4486e365ef1e398fd64c815..bb637520fbc9665961b90277cb4e48b790f7d741 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -42,6 +42,7 @@
#include "net/http/http_response_headers.h"
#include "services/service_manager/public/cpp/interface_factory.h"
#include "services/service_manager/public/cpp/interface_registry.h"
+#include "third_party/WebKit/public/platform/WebFocusType.h"
#include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
#include "third_party/WebKit/public/web/WebTextDirection.h"
#include "third_party/WebKit/public/web/WebTreeScopeType.h"
@@ -431,6 +432,12 @@ class CONTENT_EXPORT RenderFrameHostImpl
// cross-process window.focus() calls.
void SetFocusedFrame();
+ // Continues sequential focus navigation in this frame. |source_proxy|
+ // represents the frame that requested a focus change. It must be in the same
+ // process as this or |nullptr|.
+ void AdvanceFocus(blink::WebFocusType type,
+ RenderFrameProxyHost* source_proxy);
+
// Deletes the current selection plus the specified number of characters
// before and after the selection or caret.
void ExtendSelectionAndDelete(size_t before, size_t after);

Powered by Google App Engine
This is Rietveld 408576698