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

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

Issue 1370013003: OOPIF: Clear old focused frame when focus moves to a cross-process frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 5 years, 3 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.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 488fad6ac2f16a5c604f863a188a6f637b7552a6..9e611ace533ee46528b4efea5d2e229c82d314a7 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1817,6 +1817,10 @@ void RenderFrameHostImpl::UpdateOpener() {
Send(new FrameMsg_UpdateOpener(GetRoutingID(), opener_routing_id));
}
+void RenderFrameHostImpl::ClearFocus() {
+ Send(new FrameMsg_ClearFocus(routing_id_));
alexmos 2015/09/29 23:37:13 I was debating whether this should pass the new fo
Charlie Reis 2015/09/29 23:50:44 Acknowledged.
+}
+
void RenderFrameHostImpl::ExtendSelectionAndDelete(size_t before,
size_t after) {
Send(new InputMsg_ExtendSelectionAndDelete(routing_id_, before, after));

Powered by Google App Engine
This is Rietveld 408576698