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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 IPC_STRUCT_MEMBER(std::string, frame_to_navigate) | 240 IPC_STRUCT_MEMBER(std::string, frame_to_navigate) |
241 | 241 |
242 // The navigationStart time to expose to JS for this navigation. | 242 // The navigationStart time to expose to JS for this navigation. |
243 IPC_STRUCT_MEMBER(base::TimeTicks, browser_navigation_start) | 243 IPC_STRUCT_MEMBER(base::TimeTicks, browser_navigation_start) |
244 IPC_STRUCT_END() | 244 IPC_STRUCT_END() |
245 | 245 |
246 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) | 246 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) |
247 IPC_STRUCT_MEMBER(GURL, url) | 247 IPC_STRUCT_MEMBER(GURL, url) |
248 IPC_STRUCT_MEMBER(content::Referrer, referrer) | 248 IPC_STRUCT_MEMBER(content::Referrer, referrer) |
249 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) | 249 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) |
250 IPC_STRUCT_MEMBER(int64, frame_id) | |
251 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) | 250 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) |
252 IPC_STRUCT_MEMBER(bool, user_gesture) | 251 IPC_STRUCT_MEMBER(bool, user_gesture) |
253 IPC_STRUCT_END() | 252 IPC_STRUCT_END() |
254 | 253 |
255 // ----------------------------------------------------------------------------- | 254 // ----------------------------------------------------------------------------- |
256 // Messages sent from the browser to the renderer. | 255 // Messages sent from the browser to the renderer. |
257 | 256 |
258 // When HW accelerated buffers are swapped in an out-of-process child frame | 257 // When HW accelerated buffers are swapped in an out-of-process child frame |
259 // renderer, the message is forwarded to the embedding frame to notify it of | 258 // renderer, the message is forwarded to the embedding frame to notify it of |
260 // a new texture available for compositing. When the buffer has finished | 259 // a new texture available for compositing. When the buffer has finished |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 // content area, and a context menu should be shown for it. The params | 442 // content area, and a context menu should be shown for it. The params |
444 // object contains information about the node(s) that were selected when the | 443 // object contains information about the node(s) that were selected when the |
445 // user right clicked. | 444 // user right clicked. |
446 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 445 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
447 | 446 |
448 // Initial drawing parameters for a child frame that has been swapped out to | 447 // Initial drawing parameters for a child frame that has been swapped out to |
449 // another process. | 448 // another process. |
450 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, | 449 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, |
451 gfx::Rect /* frame_rect */, | 450 gfx::Rect /* frame_rect */, |
452 float /* scale_factor */) | 451 float /* scale_factor */) |
OLD | NEW |