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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
330 | 330 |
331 // Deletes the current selection plus the specified number of characters before | 331 // Deletes the current selection plus the specified number of characters before |
332 // and after the selection or caret. | 332 // and after the selection or caret. |
333 IPC_MESSAGE_ROUTED2(FrameMsg_ExtendSelectionAndDelete, | 333 IPC_MESSAGE_ROUTED2(FrameMsg_ExtendSelectionAndDelete, |
334 int /* before */, | 334 int /* before */, |
335 int /* after */) | 335 int /* after */) |
336 | 336 |
337 // ----------------------------------------------------------------------------- | 337 // ----------------------------------------------------------------------------- |
338 // Messages sent from the renderer to the browser. | 338 // Messages sent from the renderer to the browser. |
339 | 339 |
340 // WebKit and JavaScript error messages to log to the console | |
nasko
2014/03/28 23:05:05
nit: Blink
mkosiba (inactive)
2014/03/31 09:48:41
Done.
| |
341 // or debugger UI. | |
342 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, | |
343 int32, /* log level */ | |
344 base::string16, /* msg */ | |
345 int32, /* line number */ | |
346 base::string16 /* source id */ ) | |
347 | |
340 // Sent by the renderer when a child frame is created in the renderer. | 348 // Sent by the renderer when a child frame is created in the renderer. |
341 // | 349 // |
342 // Each of these messages will have a corresponding FrameHostMsg_Detach message | 350 // Each of these messages will have a corresponding FrameHostMsg_Detach message |
343 // sent when the frame is detached from the DOM. | 351 // sent when the frame is detached from the DOM. |
344 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame, | 352 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame, |
345 int32 /* parent_routing_id */, | 353 int32 /* parent_routing_id */, |
346 std::string /* frame_name */, | 354 std::string /* frame_name */, |
347 int32 /* new_routing_id */) | 355 int32 /* new_routing_id */) |
348 | 356 |
349 // Sent by the renderer to the parent RenderFrameHost when a child frame is | 357 // Sent by the renderer to the parent RenderFrameHost when a child frame is |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
497 float /* scale_factor */) | 505 float /* scale_factor */) |
498 | 506 |
499 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was | 507 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was |
500 // requested. The ID is the parameter supplied to | 508 // requested. The ID is the parameter supplied to |
501 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the | 509 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the |
502 // script as its only element, one of Null, Boolean, Integer, Real, Date, or | 510 // script as its only element, one of Null, Boolean, Integer, Real, Date, or |
503 // String. | 511 // String. |
504 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, | 512 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, |
505 int /* id */, | 513 int /* id */, |
506 base::ListValue /* result */) | 514 base::ListValue /* result */) |
OLD | NEW |