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

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

Issue 1934703002: Fix keyboard focus for OOPIF-<webview>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ready for review: Fix works with oopif webview but does not fix crbug.com/609903 Created 4 years, 7 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 fda2cf18b882eb4d26944e846320c49da4d61f82..0a00f129ff133d53d6bf54d6478860b11ec80b0f 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -415,6 +415,11 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
// cross-process window.focus() calls.
void SetFocusedFrame();
+ // Unset this frame as focused in the renderer process. This allows loss of
+ // focus inside a <webview> when focus in the embedder goes from the webview
lfg 2016/05/06 21:23:33 Let's use inner WebContents instead of <webview>,
avallee 2016/05/11 18:26:11 Sure, done. I did see mentions of <webview> furthe
+ // to another element.
+ void UnsetFocusedFrame();
+
// 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