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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 | 606 |
607 // Notifies the browser that media has started/stopped playing. | 607 // Notifies the browser that media has started/stopped playing. |
608 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, | 608 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, |
609 int64 /* player_cookie, distinguishes instances */, | 609 int64 /* player_cookie, distinguishes instances */, |
610 bool /* has_video */, | 610 bool /* has_video */, |
611 bool /* has_audio */) | 611 bool /* has_audio */) |
612 | 612 |
613 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, | 613 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, |
614 int64 /* player_cookie, distinguishes instances */) | 614 int64 /* player_cookie, distinguishes instances */) |
615 | 615 |
| 616 // Notify browser the brand color has been changed. |
| 617 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeBrandColor, |
| 618 SkColor /* brand_color */) |
| 619 |
616 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and | 620 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and |
617 // |endOffset| are the offsets of the selection in the returned |content|. | 621 // |endOffset| are the offsets of the selection in the returned |content|. |
618 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 622 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
619 base::string16, /* content */ | 623 base::string16, /* content */ |
620 size_t, /* startOffset */ | 624 size_t, /* startOffset */ |
621 size_t /* endOffset */) | 625 size_t /* endOffset */) |
OLD | NEW |