Chromium Code Reviews| 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); |