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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 FrameHostMsg_DidCommitProvisionalLoad_Params) | 407 FrameHostMsg_DidCommitProvisionalLoad_Params) |
408 | 408 |
409 // Notifies the browser that a document has been loaded. | 409 // Notifies the browser that a document has been loaded. |
410 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) | 410 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) |
411 | 411 |
412 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, | 412 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, |
413 GURL /* validated_url */, | 413 GURL /* validated_url */, |
414 int /* error_code */, | 414 int /* error_code */, |
415 base::string16 /* error_description */) | 415 base::string16 /* error_description */) |
416 | 416 |
417 // Sent when the renderer starts loading the page. This corresponds to | 417 // Sent when the renderer starts loading the page. |to_different_document| will |
418 // Blink's notion of the throbber starting. Note that sometimes you may get | 418 // be true unless the load is a fragment navigation, or triggered by |
419 // duplicates of these during a single load. | 419 // history.pushState/replaceState. |
420 // |to_different_document| will be true unless the load is a fragment | |
421 // navigation, or triggered by history.pushState/replaceState. | |
422 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, | 420 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
423 bool /* to_different_document */) | 421 bool /* to_different_document */) |
424 | 422 |
425 // Sent when the renderer is done loading a page. This corresponds to Blink's | 423 // Sent when the renderer is done loading a page. |
426 // notion of the throbber stopping. | |
427 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 424 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
428 | 425 |
| 426 // Sent when the renderer changed the progress of a load. |
| 427 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, |
| 428 double /* load_progress */) |
| 429 |
429 // Requests that the given URL be opened in the specified manner. | 430 // Requests that the given URL be opened in the specified manner. |
430 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 431 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
431 | 432 |
432 // Notifies the browser that a frame finished loading. | 433 // Notifies the browser that a frame finished loading. |
433 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, | 434 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, |
434 GURL /* validated_url */) | 435 GURL /* validated_url */) |
435 | 436 |
436 // Sent when after the onload handler has been invoked for the document | 437 // Sent when after the onload handler has been invoked for the document |
437 // in this frame. Sent for top-level frames. | 438 // in this frame. Sent for top-level frames. |
438 IPC_MESSAGE_ROUTED0(FrameHostMsg_DocumentOnLoadCompleted) | 439 IPC_MESSAGE_ROUTED0(FrameHostMsg_DocumentOnLoadCompleted) |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 SkColor /* color */) | 600 SkColor /* color */) |
600 | 601 |
601 // Notifies the browser that media has started/stopped playing. | 602 // Notifies the browser that media has started/stopped playing. |
602 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, | 603 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, |
603 int64 /* player_cookie, distinguishes instances */, | 604 int64 /* player_cookie, distinguishes instances */, |
604 bool /* has_video */, | 605 bool /* has_video */, |
605 bool /* has_audio */) | 606 bool /* has_audio */) |
606 | 607 |
607 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, | 608 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, |
608 int64 /* player_cookie, distinguishes instances */) | 609 int64 /* player_cookie, distinguishes instances */) |
OLD | NEW |