OLD | NEW |
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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 | 703 |
704 // Asks the browser to end the color chooser. | 704 // Asks the browser to end the color chooser. |
705 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) | 705 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) |
706 | 706 |
707 // Change the selected color in the color chooser. | 707 // Change the selected color in the color chooser. |
708 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser, | 708 IPC_MESSAGE_ROUTED2(FrameHostMsg_SetSelectedColorInColorChooser, |
709 int /* id */, | 709 int /* id */, |
710 SkColor /* color */) | 710 SkColor /* color */) |
711 | 711 |
712 // Notifies the browser that media has started/stopped playing. | 712 // Notifies the browser that media has started/stopped playing. |
713 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, | 713 IPC_MESSAGE_ROUTED4(FrameHostMsg_MediaPlayingNotification, |
714 int64 /* player_cookie, distinguishes instances */, | 714 int64 /* player_cookie, distinguishes instances */, |
715 bool /* has_video */, | 715 bool /* has_video */, |
716 bool /* has_audio */) | 716 bool /* has_audio */, |
| 717 bool /* is_remote */) |
717 | 718 |
718 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, | 719 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, |
719 int64 /* player_cookie, distinguishes instances */) | 720 int64 /* player_cookie, distinguishes instances */) |
720 | 721 |
721 // Notify browser the theme color has been changed. | 722 // Notify browser the theme color has been changed. |
722 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, | 723 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, |
723 SkColor /* theme_color */) | 724 SkColor /* theme_color */) |
724 | 725 |
725 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and | 726 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and |
726 // |endOffset| are the offsets of the selection in the returned |content|. | 727 // |endOffset| are the offsets of the selection in the returned |content|. |
(...skipping 21 matching lines...) Expand all Loading... |
748 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 749 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
749 | 750 |
750 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 751 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
751 | 752 |
752 // Message to show/hide a popup menu using native controls. | 753 // Message to show/hide a popup menu using native controls. |
753 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 754 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
754 FrameHostMsg_ShowPopup_Params) | 755 FrameHostMsg_ShowPopup_Params) |
755 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 756 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
756 | 757 |
757 #endif | 758 #endif |
OLD | NEW |