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

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

Issue 1423053002: Make document.activeElement work with OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus-preserve-page-focus-on-subframe-navigations
Patch Set: Remove some plumbing that should instead be introduced in the window.focus() CL. Created 5 years, 1 month 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
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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) 647 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags)
648 648
649 // Update a proxy's window.name property. Used when the frame's name is 649 // Update a proxy's window.name property. Used when the frame's name is
650 // changed in another process. 650 // changed in another process.
651 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) 651 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */)
652 652
653 // Update a proxy's replicated origin. Used when the frame is navigated to a 653 // Update a proxy's replicated origin. Used when the frame is navigated to a
654 // new origin. 654 // new origin.
655 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) 655 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */)
656 656
657 // Notifies this frame that it lost focus to a frame in another process. 657 // Notifies this frame or proxy that it is now focused. This is used to
658 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocus) 658 // support cross-process focused frame changes.
659 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame);
alexmos 2015/11/04 21:53:59 Currently, this is only called on proxies, but in
Charlie Reis 2015/11/04 22:23:42 Acknowledged.
659 660
660 // Send to the RenderFrame to set text tracks state and style settings. 661 // Send to the RenderFrame to set text tracks state and style settings.
661 // Sent for top-level frames. 662 // Sent for top-level frames.
662 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, 663 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,
663 FrameMsg_TextTrackSettings_Params /* params */) 664 FrameMsg_TextTrackSettings_Params /* params */)
664 665
665 // Posts a message from a frame in another process to the current renderer. 666 // Posts a message from a frame in another process to the current renderer.
666 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) 667 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params)
667 668
668 #if defined(OS_ANDROID) 669 #if defined(OS_ANDROID)
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1233 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1233 FrameHostMsg_ShowPopup_Params) 1234 FrameHostMsg_ShowPopup_Params)
1234 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1235 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1235 1236
1236 #endif 1237 #endif
1237 1238
1238 // Adding a new message? Stick to the sort order above: first platform 1239 // Adding a new message? Stick to the sort order above: first platform
1239 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1240 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1240 // platform independent FrameHostMsg, then ifdefs for platform specific 1241 // platform independent FrameHostMsg, then ifdefs for platform specific
1241 // FrameHostMsg. 1242 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698