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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 base::string16, /* javascript */ | 375 base::string16, /* javascript */ |
376 int, /* ID */ | 376 int, /* ID */ |
377 bool /* if true, a reply is requested */) | 377 bool /* if true, a reply is requested */) |
378 | 378 |
379 // Selects between the given start and end offsets in the currently focused | 379 // Selects between the given start and end offsets in the currently focused |
380 // editable field. | 380 // editable field. |
381 IPC_MESSAGE_ROUTED2(FrameMsg_SetEditableSelectionOffsets, | 381 IPC_MESSAGE_ROUTED2(FrameMsg_SetEditableSelectionOffsets, |
382 int /* start */, | 382 int /* start */, |
383 int /* end */) | 383 int /* end */) |
384 | 384 |
| 385 // Requests a navigation to the supplied markup, in an iframe with sandbox |
| 386 // attributes. |
| 387 IPC_MESSAGE_ROUTED1(FrameMsg_SetupTransitionView, |
| 388 std::string /* markup */) |
| 389 |
| 390 // Tells the renderer to hide the elements specified by the supplied CSS |
| 391 // selector, and activates any exiting-transition stylesheets. |
| 392 IPC_MESSAGE_ROUTED1(FrameMsg_BeginExitTransition, |
| 393 std::string /* css_selector */) |
| 394 |
385 // Tells the renderer to reload the frame, optionally ignoring the cache while | 395 // Tells the renderer to reload the frame, optionally ignoring the cache while |
386 // doing so. | 396 // doing so. |
387 IPC_MESSAGE_ROUTED1(FrameMsg_Reload, | 397 IPC_MESSAGE_ROUTED1(FrameMsg_Reload, |
388 bool /* ignore_cache */) | 398 bool /* ignore_cache */) |
389 | 399 |
390 // Notifies the color chooser client that the user selected a color. | 400 // Notifies the color chooser client that the user selected a color. |
391 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor) | 401 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor) |
392 | 402 |
393 // Notifies the color chooser client that the color chooser has ended. | 403 // Notifies the color chooser client that the color chooser has ended. |
394 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned) | 404 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned) |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 SkColor /* theme_color */) | 678 SkColor /* theme_color */) |
669 | 679 |
670 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and | 680 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and |
671 // |endOffset| are the offsets of the selection in the returned |content|. | 681 // |endOffset| are the offsets of the selection in the returned |content|. |
672 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 682 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
673 base::string16, /* content */ | 683 base::string16, /* content */ |
674 size_t, /* startOffset */ | 684 size_t, /* startOffset */ |
675 size_t /* endOffset */) | 685 size_t /* endOffset */) |
676 | 686 |
677 // Notifies the browser that the renderer has a pending navigation transition. | 687 // Notifies the browser that the renderer has a pending navigation transition. |
678 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, | 688 // The string parameters are all UTF8. |
| 689 IPC_MESSAGE_CONTROL4(FrameHostMsg_AddNavigationTransitionData, |
679 int /* render_frame_id */, | 690 int /* render_frame_id */, |
680 bool /* is_transition */) | 691 std::string /* allowed_destination_host_pattern */, |
| 692 std::string /* selector */, |
| 693 std::string /* markup */) |
681 | 694 |
682 // Tells the browser to perform a navigation. | 695 // Tells the browser to perform a navigation. |
683 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 696 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
684 FrameHostMsg_BeginNavigation_Params) | 697 FrameHostMsg_BeginNavigation_Params) |
685 | 698 |
686 // Sent once a paint happens after the first non empty layout. In other words | 699 // Sent once a paint happens after the first non empty layout. In other words |
687 // after the frame has painted something. | 700 // after the frame has painted something. |
688 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 701 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
OLD | NEW |