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 1944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1955 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, | 1955 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, |
1956 GURL /* url */, | 1956 GURL /* url */, |
1957 double /* expected_response_time */, | 1957 double /* expected_response_time */, |
1958 std::vector<char> /* data */) | 1958 std::vector<char> /* data */) |
1959 | 1959 |
1960 // Updates the content restrictions, i.e. to disable print/copy. | 1960 // Updates the content restrictions, i.e. to disable print/copy. |
1961 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 1961 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
1962 int /* restrictions */) | 1962 int /* restrictions */) |
1963 | 1963 |
1964 // Brings up SaveAs... dialog to save specified URL. | 1964 // Brings up SaveAs... dialog to save specified URL. |
1965 IPC_MESSAGE_ROUTED1(ViewHostMsg_SaveURLAs, | 1965 IPC_MESSAGE_ROUTED2(ViewHostMsg_SaveURLAs, |
1966 GURL /* url */) | 1966 GURL /* url */, |
| 1967 content::Referrer /* referrer */) |
1967 | 1968 |
1968 // Displays a JavaScript out-of-memory message in the infobar. | 1969 // Displays a JavaScript out-of-memory message in the infobar. |
1969 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) | 1970 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) |
1970 | 1971 |
1971 // Register a new handler for URL requests with the given scheme. | 1972 // Register a new handler for URL requests with the given scheme. |
1972 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 1973 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
1973 std::string /* scheme */, | 1974 std::string /* scheme */, |
1974 GURL /* url */, | 1975 GURL /* url */, |
1975 string16 /* title */) | 1976 string16 /* title */) |
1976 | 1977 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2028 int /* automation_id */) | 2029 int /* automation_id */) |
2029 | 2030 |
2030 // Sent to the browser when the renderer detects it is blocked on a pepper | 2031 // Sent to the browser when the renderer detects it is blocked on a pepper |
2031 // plugin message for too long. This is also sent when it becomes unhung | 2032 // plugin message for too long. This is also sent when it becomes unhung |
2032 // (according to the value of is_hung). The browser can give the user the | 2033 // (according to the value of is_hung). The browser can give the user the |
2033 // option of killing the plugin. | 2034 // option of killing the plugin. |
2034 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2035 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2035 int /* plugin_child_id */, | 2036 int /* plugin_child_id */, |
2036 FilePath /* path */, | 2037 FilePath /* path */, |
2037 bool /* is_hung */) | 2038 bool /* is_hung */) |
OLD | NEW |