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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 | 598 |
599 // Notifies the browser that media has started/stopped playing. | 599 // Notifies the browser that media has started/stopped playing. |
600 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, | 600 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, |
601 int64 /* player_cookie, distinguishes instances */, | 601 int64 /* player_cookie, distinguishes instances */, |
602 bool /* has_video */, | 602 bool /* has_video */, |
603 bool /* has_audio */) | 603 bool /* has_audio */) |
604 | 604 |
605 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, | 605 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, |
606 int64 /* player_cookie, distinguishes instances */) | 606 int64 /* player_cookie, distinguishes instances */) |
607 | 607 |
608 // Notify browser the brand color has been changed. | 608 // Notify browser the theme color has been changed. |
609 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeBrandColor, | 609 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, |
610 SkColor /* brand_color */) | 610 SkColor /* theme_color */) |
611 | 611 |
612 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and | 612 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and |
613 // |endOffset| are the offsets of the selection in the returned |content|. | 613 // |endOffset| are the offsets of the selection in the returned |content|. |
614 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 614 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
615 base::string16, /* content */ | 615 base::string16, /* content */ |
616 size_t, /* startOffset */ | 616 size_t, /* startOffset */ |
617 size_t /* endOffset */) | 617 size_t /* endOffset */) |
618 | 618 |
619 // Notifies the browser that the renderer has a pending navigation transition. | 619 // Notifies the browser that the renderer has a pending navigation transition. |
620 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, | 620 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, |
621 int /* render_frame_id */, | 621 int /* render_frame_id */, |
622 bool /* is_transition */) | 622 bool /* is_transition */) |
OLD | NEW |