Chromium Code Reviews| Index: content/common/frame_messages.h |
| diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
| index aad2aac168907df6c9d2db15ca492005438516fe..36d25d51dc8b807ccd987c728dfe62e782f72b09 100644 |
| --- a/content/common/frame_messages.h |
| +++ b/content/common/frame_messages.h |
| @@ -774,6 +774,9 @@ IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, |
| // Posts a message from a frame in another process to the current renderer. |
| IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) |
| +// Tells the RenderFrame to clear the focused element (if any). |
| +IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocusedElement) |
| + |
| #if defined(OS_ANDROID) |
| // Request the distance to the nearest find result in a frame from the point at |
| // (x, y), defined in fractions of the content document's width and height. The |
| @@ -1113,6 +1116,15 @@ IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Are3DAPIsBlocked, |
| content::ThreeDAPIType /* requester */, |
| bool /* blocked */) |
| +// Message sent from renderer to the browser when focus changes inside the |
| +// frame. The first parameter says whether the newly focused element needs |
| +// keyboard input (true for textfields, text areas and content editable divs). |
| +// The second parameter is the node bounds relative to local roots |
|
nasko
2016/12/21 16:28:36
nit: root or root's?
EhsanK
2016/12/21 16:37:06
root's. Thanks!
|
| +// RenderWidgetHostView. |
| +IPC_MESSAGE_ROUTED2(FrameHostMsg_FocusedNodeChanged, |
| + bool /* is_editable_node */, |
| + gfx::Rect /* node_bounds */) |
| + |
| #if BUILDFLAG(ENABLE_PLUGINS) |
| // Notification sent from a renderer to the browser that a Pepper plugin |
| // instance is created in the DOM. |