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

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

Issue 1110103004: Hook up Android closed captions 'enabled' setting to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed lgtm nits Created 5 years, 5 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
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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 352
353 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 353 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
354 IPC_STRUCT_MEMBER(GURL, url) 354 IPC_STRUCT_MEMBER(GURL, url)
355 IPC_STRUCT_MEMBER(content::Referrer, referrer) 355 IPC_STRUCT_MEMBER(content::Referrer, referrer)
356 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 356 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
357 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 357 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
358 IPC_STRUCT_MEMBER(bool, user_gesture) 358 IPC_STRUCT_MEMBER(bool, user_gesture)
359 IPC_STRUCT_END() 359 IPC_STRUCT_END()
360 360
361 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params) 361 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params)
362 // Text tracks on/off state
363 IPC_STRUCT_MEMBER(bool, text_tracks_enabled)
364
362 // Background color of the text track. 365 // Background color of the text track.
363 IPC_STRUCT_MEMBER(std::string, text_track_background_color) 366 IPC_STRUCT_MEMBER(std::string, text_track_background_color)
364 367
365 // Font family of the text track text. 368 // Font family of the text track text.
366 IPC_STRUCT_MEMBER(std::string, text_track_font_family) 369 IPC_STRUCT_MEMBER(std::string, text_track_font_family)
367 370
368 // Font style of the text track text. 371 // Font style of the text track text.
369 IPC_STRUCT_MEMBER(std::string, text_track_font_style) 372 IPC_STRUCT_MEMBER(std::string, text_track_font_style)
370 373
371 // Font variant of the text track text. 374 // Font variant of the text track text.
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) 595 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags)
593 596
594 // Update a proxy's window.name property. Used when the frame's name is 597 // Update a proxy's window.name property. Used when the frame's name is
595 // changed in another process. 598 // changed in another process.
596 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) 599 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */)
597 600
598 // Update a proxy's replicated origin. Used when the frame is navigated to a 601 // Update a proxy's replicated origin. Used when the frame is navigated to a
599 // new origin. 602 // new origin.
600 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) 603 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */)
601 604
602 // Send to the RenderFrame to set text track style settings. 605 // Send to the RenderFrame to set text tracks state and style settings.
603 // Sent for top-level frames. 606 // Sent for top-level frames.
604 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, 607 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings,
605 FrameMsg_TextTrackSettings_Params /* params */) 608 FrameMsg_TextTrackSettings_Params /* params */)
606 609
607 // Posts a message from a frame in another process to the current renderer. 610 // Posts a message from a frame in another process to the current renderer.
608 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) 611 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params)
609 612
610 #if defined(OS_ANDROID) 613 #if defined(OS_ANDROID)
611 614
612 // External popup menus. 615 // External popup menus.
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 FrameMsg_PostMessage_Params) 1018 FrameMsg_PostMessage_Params)
1016 1019
1017 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1020 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1018 1021
1019 // Message to show/hide a popup menu using native controls. 1022 // Message to show/hide a popup menu using native controls.
1020 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1023 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1021 FrameHostMsg_ShowPopup_Params) 1024 FrameHostMsg_ShowPopup_Params)
1022 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1025 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1023 1026
1024 #endif 1027 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698