Chromium Code Reviews| Index: content/common/frame_messages.h |
| diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
| index eb7c02300b1d842fadd882fbacd8264181255f94..3bfb4b38a7049489dcd674caa0258136013187a4 100644 |
| --- a/content/common/frame_messages.h |
| +++ b/content/common/frame_messages.h |
| @@ -312,6 +312,23 @@ IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) |
| IPC_STRUCT_MEMBER(bool, user_gesture) |
| IPC_STRUCT_END() |
| +IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params) |
| + // Background color of the text track. |
| + IPC_STRUCT_MEMBER(std::string, text_track_background_color) |
| + // Font family of the text track text. |
|
nasko
2015/03/12 20:53:53
nit: Put empty lines between comments and the prec
|
| + IPC_STRUCT_MEMBER(std::string, text_track_font_family) |
| + // Font style of the text track text. |
| + IPC_STRUCT_MEMBER(std::string, text_track_font_style) |
| + // Font variant of the text track text. |
| + IPC_STRUCT_MEMBER(std::string, text_track_font_variant) |
| + // Color of the text track text. |
| + IPC_STRUCT_MEMBER(std::string, text_track_text_color) |
| + // Text shadow (edge style) of the text track text. |
| + IPC_STRUCT_MEMBER(std::string, text_track_text_shadow) |
| + // Size of the text track text. |
| + IPC_STRUCT_MEMBER(std::string, text_track_text_size) |
| +IPC_STRUCT_END() |
| + |
| #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| // This message is used for supporting popup menus on Mac OS X and Android using |
| // native controls. See the FrameHostMsg_ShowPopup message. |
| @@ -514,6 +531,10 @@ IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, content::SandboxFlags) |
| // changed in another process. |
| IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) |
| +// Send to the render view to set text track style settings. |
|
nasko
2015/03/12 20:53:53
s/render view/RenderFrame/
Also, if it is only me
|
| +IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, |
| + FrameMsg_TextTrackSettings_Params /* params */) |
| + |
| #if defined(OS_ANDROID) |
| // External popup menus. |