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

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

Issue 2623483003: Support tracking focused node element for OOPIFs. (Closed)
Patch Set: Added the missing forward declaration Created 3 years, 11 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/web_contents/web_contents_impl.cc ('k') | content/common/view_messages.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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 IPC_MESSAGE_ROUTED0(FrameMsg_WillEnterFullscreen) 774 IPC_MESSAGE_ROUTED0(FrameMsg_WillEnterFullscreen)
775 775
776 // Send to the RenderFrame to set text tracks state and style settings. 776 // Send to the RenderFrame to set text tracks state and style settings.
777 // Sent for top-level frames. 777 // Sent for top-level frames.
778 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, 778 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,
779 FrameMsg_TextTrackSettings_Params /* params */) 779 FrameMsg_TextTrackSettings_Params /* params */)
780 780
781 // Posts a message from a frame in another process to the current renderer. 781 // Posts a message from a frame in another process to the current renderer.
782 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) 782 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params)
783 783
784 // Tells the RenderFrame to clear the focused element (if any).
785 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocusedElement)
786
784 #if defined(OS_ANDROID) 787 #if defined(OS_ANDROID)
785 // Request the distance to the nearest find result in a frame from the point at 788 // Request the distance to the nearest find result in a frame from the point at
786 // (x, y), defined in fractions of the content document's width and height. The 789 // (x, y), defined in fractions of the content document's width and height. The
787 // distance will be returned via FrameHostMsg_GetNearestFindResult_Reply. Note 790 // distance will be returned via FrameHostMsg_GetNearestFindResult_Reply. Note
788 // that |nfr_request_id| is a completely seperate ID from the |request_id| used 791 // that |nfr_request_id| is a completely seperate ID from the |request_id| used
789 // in other find-related IPCs. It is specifically used to uniquely identify a 792 // in other find-related IPCs. It is specifically used to uniquely identify a
790 // nearest find result request, rather than a find request. 793 // nearest find result request, rather than a find request.
791 IPC_MESSAGE_ROUTED3(FrameMsg_GetNearestFindResult, 794 IPC_MESSAGE_ROUTED3(FrameMsg_GetNearestFindResult,
792 int /* nfr_request_id */, 795 int /* nfr_request_id */,
793 float /* x */, 796 float /* x */,
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 bool /* cookies_enabled */) 1115 bool /* cookies_enabled */)
1113 1116
1114 // Sent by the renderer process to check whether client 3D APIs 1117 // Sent by the renderer process to check whether client 3D APIs
1115 // (Pepper 3D, WebGL) are explicitly blocked. 1118 // (Pepper 3D, WebGL) are explicitly blocked.
1116 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Are3DAPIsBlocked, 1119 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Are3DAPIsBlocked,
1117 int /* render_frame_id */, 1120 int /* render_frame_id */,
1118 GURL /* top_origin_url */, 1121 GURL /* top_origin_url */,
1119 content::ThreeDAPIType /* requester */, 1122 content::ThreeDAPIType /* requester */,
1120 bool /* blocked */) 1123 bool /* blocked */)
1121 1124
1125 // Message sent from renderer to the browser when focus changes inside the
1126 // frame. The first parameter says whether the newly focused element needs
1127 // keyboard input (true for textfields, text areas and content editable divs).
1128 // The second parameter is the node bounds relative to local root's
1129 // RenderWidgetHostView.
1130 IPC_MESSAGE_ROUTED2(FrameHostMsg_FocusedNodeChanged,
1131 bool /* is_editable_node */,
1132 gfx::Rect /* node_bounds */)
1133
1122 #if defined(ENABLE_PLUGINS) 1134 #if defined(ENABLE_PLUGINS)
1123 // Notification sent from a renderer to the browser that a Pepper plugin 1135 // Notification sent from a renderer to the browser that a Pepper plugin
1124 // instance is created in the DOM. 1136 // instance is created in the DOM.
1125 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperInstanceCreated, 1137 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperInstanceCreated,
1126 int32_t /* pp_instance */) 1138 int32_t /* pp_instance */)
1127 1139
1128 // Notification sent from a renderer to the browser that a Pepper plugin 1140 // Notification sent from a renderer to the browser that a Pepper plugin
1129 // instance is deleted from the DOM. 1141 // instance is deleted from the DOM.
1130 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperInstanceDeleted, 1142 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperInstanceDeleted,
1131 int32_t /* pp_instance */) 1143 int32_t /* pp_instance */)
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 // nearest find result in the sending frame. 1528 // nearest find result in the sending frame.
1517 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1529 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1518 int /* nfr_request_id */, 1530 int /* nfr_request_id */,
1519 float /* distance */) 1531 float /* distance */)
1520 #endif 1532 #endif
1521 1533
1522 // Adding a new message? Stick to the sort order above: first platform 1534 // Adding a new message? Stick to the sort order above: first platform
1523 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1535 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1524 // platform independent FrameHostMsg, then ifdefs for platform specific 1536 // platform independent FrameHostMsg, then ifdefs for platform specific
1525 // FrameHostMsg. 1537 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698