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

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: Change plumbing a bit: use focusDocumentView on WebView and remove clearFocus from WebLocalFrame 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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) 626 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags)
627 627
628 // Update a proxy's window.name property. Used when the frame's name is 628 // Update a proxy's window.name property. Used when the frame's name is
629 // changed in another process. 629 // changed in another process.
630 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) 630 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */)
631 631
632 // Update a proxy's replicated origin. Used when the frame is navigated to a 632 // Update a proxy's replicated origin. Used when the frame is navigated to a
633 // new origin. 633 // new origin.
634 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) 634 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */)
635 635
636 // Notifies this frame that it lost focus to a frame in another process. 636 // Notifies this frame or proxy that it is now focused. This is used to
637 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocus) 637 // support cross-process focused frame changes.
638 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame);
638 639
639 // Send to the RenderFrame to set text tracks state and style settings. 640 // Send to the RenderFrame to set text tracks state and style settings.
640 // Sent for top-level frames. 641 // Sent for top-level frames.
641 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, 642 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,
642 FrameMsg_TextTrackSettings_Params /* params */) 643 FrameMsg_TextTrackSettings_Params /* params */)
643 644
644 // Posts a message from a frame in another process to the current renderer. 645 // Posts a message from a frame in another process to the current renderer.
645 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) 646 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params)
646 647
647 #if defined(OS_ANDROID) 648 #if defined(OS_ANDROID)
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1202 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1202 FrameHostMsg_ShowPopup_Params) 1203 FrameHostMsg_ShowPopup_Params)
1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1204 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1204 1205
1205 #endif 1206 #endif
1206 1207
1207 // Adding a new message? Stick to the sort order above: first platform 1208 // Adding a new message? Stick to the sort order above: first platform
1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1209 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1209 // platform independent FrameHostMsg, then ifdefs for platform specific 1210 // platform independent FrameHostMsg, then ifdefs for platform specific
1210 // FrameHostMsg. 1211 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698