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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 | 423 |
424 // Requests that the given URL be opened in the specified manner. | 424 // Requests that the given URL be opened in the specified manner. |
425 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 425 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
426 | 426 |
427 // Notifies the browser that a frame finished loading. | 427 // Notifies the browser that a frame finished loading. |
428 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, | 428 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, |
429 GURL /* validated_url */) | 429 GURL /* validated_url */) |
430 | 430 |
431 // Sent when after the onload handler has been invoked for the document | 431 // Sent when after the onload handler has been invoked for the document |
432 // in this frame. Sent for top-level frames. | 432 // in this frame. Sent for top-level frames. |
433 IPC_MESSAGE_ROUTED1(FrameHostMsg_DocumentOnLoadCompleted, | 433 IPC_MESSAGE_ROUTED0(FrameHostMsg_DocumentOnLoadCompleted) |
434 int32 /* page_id */) | |
435 | 434 |
436 // Notifies that the initial empty document of a view has been accessed. | 435 // Notifies that the initial empty document of a view has been accessed. |
437 // After this, it is no longer safe to show a pending navigation's URL without | 436 // After this, it is no longer safe to show a pending navigation's URL without |
438 // making a URL spoof possible. | 437 // making a URL spoof possible. |
439 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidAccessInitialDocument) | 438 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidAccessInitialDocument) |
440 | 439 |
441 // Sent when the frame sets its opener to null, disowning it for the lifetime of | 440 // Sent when the frame sets its opener to null, disowning it for the lifetime of |
442 // the window. Sent for top-level frames. | 441 // the window. Sent for top-level frames. |
443 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener) | 442 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener) |
444 | 443 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 SkColor /* color */) | 582 SkColor /* color */) |
584 | 583 |
585 // Notifies the browser that media has started/stopped playing. | 584 // Notifies the browser that media has started/stopped playing. |
586 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, | 585 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, |
587 int64 /* player_cookie, distinguishes instances */, | 586 int64 /* player_cookie, distinguishes instances */, |
588 bool /* has_video */, | 587 bool /* has_video */, |
589 bool /* has_audio */) | 588 bool /* has_audio */) |
590 | 589 |
591 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, | 590 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, |
592 int64 /* player_cookie, distinguishes instances */) | 591 int64 /* player_cookie, distinguishes instances */) |
OLD | NEW |