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

Side by Side Diff: content/common/frame_messages.h

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: Remove !frame()->page() check from WebLocalFrameImpl::clearFocus() Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "cc/surfaces/surface_id.h" 8 #include "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surface_sequence.h" 9 #include "cc/surfaces/surface_sequence.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) 618 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags)
619 619
620 // Update a proxy's window.name property. Used when the frame's name is 620 // Update a proxy's window.name property. Used when the frame's name is
621 // changed in another process. 621 // changed in another process.
622 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) 622 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */)
623 623
624 // Update a proxy's replicated origin. Used when the frame is navigated to a 624 // Update a proxy's replicated origin. Used when the frame is navigated to a
625 // new origin. 625 // new origin.
626 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) 626 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */)
627 627
628 // Notifies this frame that it lost focus to a frame in another process.
629 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocus)
630
628 // Send to the RenderFrame to set text tracks state and style settings. 631 // Send to the RenderFrame to set text tracks state and style settings.
629 // Sent for top-level frames. 632 // Sent for top-level frames.
630 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, 633 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,
631 FrameMsg_TextTrackSettings_Params /* params */) 634 FrameMsg_TextTrackSettings_Params /* params */)
632 635
633 // Posts a message from a frame in another process to the current renderer. 636 // Posts a message from a frame in another process to the current renderer.
634 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) 637 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params)
635 638
636 #if defined(OS_ANDROID) 639 #if defined(OS_ANDROID)
637 640
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1193 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1191 FrameHostMsg_ShowPopup_Params) 1194 FrameHostMsg_ShowPopup_Params)
1192 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1195 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1193 1196
1194 #endif 1197 #endif
1195 1198
1196 // Adding a new message? Stick to the sort order above: first platform 1199 // Adding a new message? Stick to the sort order above: first platform
1197 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1200 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1198 // platform independent FrameHostMsg, then ifdefs for platform specific 1201 // platform independent FrameHostMsg, then ifdefs for platform specific
1199 // FrameHostMsg. 1202 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698