| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 page rendering. | 5 // IPC messages for page rendering. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 // True if this was a post request. | 637 // True if this was a post request. |
| 638 IPC_STRUCT_MEMBER(bool, is_post) | 638 IPC_STRUCT_MEMBER(bool, is_post) |
| 639 | 639 |
| 640 // If is_post is true, holds the post_data information from browser. Empty | 640 // If is_post is true, holds the post_data information from browser. Empty |
| 641 // otherwise. | 641 // otherwise. |
| 642 IPC_STRUCT_MEMBER(std::vector<unsigned char>, browser_initiated_post_data) | 642 IPC_STRUCT_MEMBER(std::vector<unsigned char>, browser_initiated_post_data) |
| 643 | 643 |
| 644 // Whether or not this url should be allowed to access local file:// | 644 // Whether or not this url should be allowed to access local file:// |
| 645 // resources. | 645 // resources. |
| 646 IPC_STRUCT_MEMBER(bool, can_load_local_resources) | 646 IPC_STRUCT_MEMBER(bool, can_load_local_resources) |
| 647 |
| 648 // If not empty, which frame to navigate. |
| 649 IPC_STRUCT_MEMBER(std::string, frame_to_navigate) |
| 647 IPC_STRUCT_END() | 650 IPC_STRUCT_END() |
| 648 | 651 |
| 649 // Parameters for an OpenURL request. | 652 // Parameters for an OpenURL request. |
| 650 IPC_STRUCT_BEGIN(ViewHostMsg_OpenURL_Params) | 653 IPC_STRUCT_BEGIN(ViewHostMsg_OpenURL_Params) |
| 651 IPC_STRUCT_MEMBER(GURL, url) | 654 IPC_STRUCT_MEMBER(GURL, url) |
| 652 IPC_STRUCT_MEMBER(content::Referrer, referrer) | 655 IPC_STRUCT_MEMBER(content::Referrer, referrer) |
| 653 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) | 656 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) |
| 654 IPC_STRUCT_MEMBER(int64, frame_id) | 657 IPC_STRUCT_MEMBER(int64, frame_id) |
| 655 IPC_STRUCT_MEMBER(bool, is_cross_site_redirect) | 658 IPC_STRUCT_MEMBER(bool, is_cross_site_redirect) |
| 656 IPC_STRUCT_END() | 659 IPC_STRUCT_END() |
| (...skipping 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2375 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2378 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2376 // for details. | 2379 // for details. |
| 2377 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2380 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2378 LOGFONT /* font_data */, | 2381 LOGFONT /* font_data */, |
| 2379 string16 /* characters */) | 2382 string16 /* characters */) |
| 2380 #endif | 2383 #endif |
| 2381 | 2384 |
| 2382 // Notifies the browser that the frame with the given id was detached. | 2385 // Notifies the browser that the frame with the given id was detached. |
| 2383 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, | 2386 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, |
| 2384 int64 /* frame_id */) | 2387 int64 /* frame_id */) |
| OLD | NEW |