| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 // | 412 // |
| 413 // If the third parameter is true the result is sent back to the browser using | 413 // If the third parameter is true the result is sent back to the browser using |
| 414 // the message FrameHostMsg_JavaScriptExecuteResponse. | 414 // the message FrameHostMsg_JavaScriptExecuteResponse. |
| 415 // FrameHostMsg_JavaScriptExecuteResponse is passed the ID parameter so that the | 415 // FrameHostMsg_JavaScriptExecuteResponse is passed the ID parameter so that the |
| 416 // host can uniquely identify the request. | 416 // host can uniquely identify the request. |
| 417 IPC_MESSAGE_ROUTED3(FrameMsg_JavaScriptExecuteRequest, | 417 IPC_MESSAGE_ROUTED3(FrameMsg_JavaScriptExecuteRequest, |
| 418 base::string16, /* javascript */ | 418 base::string16, /* javascript */ |
| 419 int, /* ID */ | 419 int, /* ID */ |
| 420 bool /* if true, a reply is requested */) | 420 bool /* if true, a reply is requested */) |
| 421 | 421 |
| 422 // ONLY FOR TESTS: Same as above but adds a fake UserGestureindicator around |
| 423 // execution. (crbug.com/408426) |
| 424 IPC_MESSAGE_ROUTED3(FrameMsg_JavaScriptExecuteRequestForTests, |
| 425 base::string16, /* javascript */ |
| 426 int, /* ID */ |
| 427 bool /* if true, a reply is requested */) |
| 428 |
| 422 // Selects between the given start and end offsets in the currently focused | 429 // Selects between the given start and end offsets in the currently focused |
| 423 // editable field. | 430 // editable field. |
| 424 IPC_MESSAGE_ROUTED2(FrameMsg_SetEditableSelectionOffsets, | 431 IPC_MESSAGE_ROUTED2(FrameMsg_SetEditableSelectionOffsets, |
| 425 int /* start */, | 432 int /* start */, |
| 426 int /* end */) | 433 int /* end */) |
| 427 | 434 |
| 428 // Requests a navigation to the supplied markup, in an iframe with sandbox | 435 // Requests a navigation to the supplied markup, in an iframe with sandbox |
| 429 // attributes. | 436 // attributes. |
| 430 IPC_MESSAGE_ROUTED1(FrameMsg_SetupTransitionView, | 437 IPC_MESSAGE_ROUTED1(FrameMsg_SetupTransitionView, |
| 431 std::string /* markup */) | 438 std::string /* markup */) |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 766 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 760 | 767 |
| 761 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 768 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 762 | 769 |
| 763 // Message to show/hide a popup menu using native controls. | 770 // Message to show/hide a popup menu using native controls. |
| 764 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 771 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 765 FrameHostMsg_ShowPopup_Params) | 772 FrameHostMsg_ShowPopup_Params) |
| 766 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 773 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 767 | 774 |
| 768 #endif | 775 #endif |
| OLD | NEW |