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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 | 346 |
347 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidFailLoadWithError, | 347 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidFailLoadWithError, |
348 GURL /* validated_url */, | 348 GURL /* validated_url */, |
349 bool /* is_main_frame */, | 349 bool /* is_main_frame */, |
350 int /* error_code */, | 350 int /* error_code */, |
351 base::string16 /* error_description */) | 351 base::string16 /* error_description */) |
352 | 352 |
353 // Sent when the renderer starts loading the page. This corresponds to | 353 // Sent when the renderer starts loading the page. This corresponds to |
354 // Blink's notion of the throbber starting. Note that sometimes you may get | 354 // Blink's notion of the throbber starting. Note that sometimes you may get |
355 // duplicates of these during a single load. | 355 // duplicates of these during a single load. |
356 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) | 356 // |to_different_document| will be true unless the load is a fragment |
| 357 // navigation, or triggered by history.pushState/replaceState. |
| 358 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
| 359 bool /* to_different_document */) |
357 | 360 |
358 // Sent when the renderer is done loading a page. This corresponds to Blink's | 361 // Sent when the renderer is done loading a page. This corresponds to Blink's |
359 // notion of the throbber stopping. | 362 // notion of the throbber stopping. |
360 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 363 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
361 | 364 |
362 // Requests that the given URL be opened in the specified manner. | 365 // Requests that the given URL be opened in the specified manner. |
363 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 366 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
364 | 367 |
365 // Notifies the browser that a frame finished loading. | 368 // Notifies the browser that a frame finished loading. |
366 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidFinishLoad, | 369 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidFinishLoad, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 // content area, and a context menu should be shown for it. The params | 452 // content area, and a context menu should be shown for it. The params |
450 // object contains information about the node(s) that were selected when the | 453 // object contains information about the node(s) that were selected when the |
451 // user right clicked. | 454 // user right clicked. |
452 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 455 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
453 | 456 |
454 // Initial drawing parameters for a child frame that has been swapped out to | 457 // Initial drawing parameters for a child frame that has been swapped out to |
455 // another process. | 458 // another process. |
456 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 459 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
457 gfx::Rect /* frame_rect */, | 460 gfx::Rect /* frame_rect */, |
458 float /* scale_factor */) | 461 float /* scale_factor */) |
OLD | NEW |