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 "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 | 363 |
364 // The frame identifier of the frame initiating the open. | 364 // The frame identifier of the frame initiating the open. |
365 IPC_STRUCT_MEMBER(int64, opener_frame_id) | 365 IPC_STRUCT_MEMBER(int64, opener_frame_id) |
366 | 366 |
367 // The URL of the frame initiating the open. | 367 // The URL of the frame initiating the open. |
368 IPC_STRUCT_MEMBER(GURL, opener_url) | 368 IPC_STRUCT_MEMBER(GURL, opener_url) |
369 | 369 |
370 // The security origin of the frame initiating the open. | 370 // The security origin of the frame initiating the open. |
371 IPC_STRUCT_MEMBER(std::string, opener_security_origin) | 371 IPC_STRUCT_MEMBER(std::string, opener_security_origin) |
372 | 372 |
| 373 // Whether the opener will be suppressed in the new window, in which case |
| 374 // scripting the new window is not allowed. |
| 375 IPC_STRUCT_MEMBER(bool, opener_suppressed) |
| 376 |
| 377 // Whether the window should be opened in the foreground, background, etc. |
| 378 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) |
| 379 |
373 // The URL that will be loaded in the new window (empty if none has been | 380 // The URL that will be loaded in the new window (empty if none has been |
374 // sepcified). | 381 // sepcified). |
375 IPC_STRUCT_MEMBER(GURL, target_url) | 382 IPC_STRUCT_MEMBER(GURL, target_url) |
376 IPC_STRUCT_END() | 383 IPC_STRUCT_END() |
377 | 384 |
378 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) | 385 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
379 // URL for the worker script. | 386 // URL for the worker script. |
380 IPC_STRUCT_MEMBER(GURL, url) | 387 IPC_STRUCT_MEMBER(GURL, url) |
381 | 388 |
382 // Name for a SharedWorker, otherwise empty string. | 389 // Name for a SharedWorker, otherwise empty string. |
(...skipping 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1952 // have a javascript send a native value (string, number, boolean) to the | 1959 // have a javascript send a native value (string, number, boolean) to the |
1953 // listener in Cpp. (DomAutomationController) | 1960 // listener in Cpp. (DomAutomationController) |
1954 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1961 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
1955 std::string /* json_string */, | 1962 std::string /* json_string */, |
1956 int /* automation_id */) | 1963 int /* automation_id */) |
1957 | 1964 |
1958 // Enable or disable inverting of web content pixels, for users who prefer | 1965 // Enable or disable inverting of web content pixels, for users who prefer |
1959 // white-on-black. | 1966 // white-on-black. |
1960 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 1967 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
1961 bool /* invert */) | 1968 bool /* invert */) |
OLD | NEW |