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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) | 365 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) |
366 | 366 |
367 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, | 367 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, |
368 GURL /* validated_url */, | 368 GURL /* validated_url */, |
369 int /* error_code */, | 369 int /* error_code */, |
370 base::string16 /* error_description */) | 370 base::string16 /* error_description */) |
371 | 371 |
372 // Sent when the renderer starts loading the page. This corresponds to | 372 // Sent when the renderer starts loading the page. This corresponds to |
373 // Blink's notion of the throbber starting. Note that sometimes you may get | 373 // Blink's notion of the throbber starting. Note that sometimes you may get |
374 // duplicates of these during a single load. | 374 // duplicates of these during a single load. |
375 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) | 375 // |to_different_document| will be true unless the load is a fragment |
| 376 // navigation, or triggered by history.pushState/replaceState. |
| 377 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
| 378 bool /* to_different_document */) |
376 | 379 |
377 // Sent when the renderer is done loading a page. This corresponds to Blink's | 380 // Sent when the renderer is done loading a page. This corresponds to Blink's |
378 // notion of the throbber stopping. | 381 // notion of the throbber stopping. |
379 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 382 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
380 | 383 |
381 // Requests that the given URL be opened in the specified manner. | 384 // Requests that the given URL be opened in the specified manner. |
382 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 385 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
383 | 386 |
384 // Notifies the browser that a frame finished loading. | 387 // Notifies the browser that a frame finished loading. |
385 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, | 388 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 float /* scale_factor */) | 487 float /* scale_factor */) |
485 | 488 |
486 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was | 489 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was |
487 // requested. The ID is the parameter supplied to | 490 // requested. The ID is the parameter supplied to |
488 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the | 491 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the |
489 // script as its only element, one of Null, Boolean, Integer, Real, Date, or | 492 // script as its only element, one of Null, Boolean, Integer, Real, Date, or |
490 // String. | 493 // String. |
491 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, | 494 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, |
492 int /* id */, | 495 int /* id */, |
493 base::ListValue /* result */) | 496 base::ListValue /* result */) |
OLD | NEW |