| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
| (...skipping 1956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1967 | 1967 |
| 1968 // Displays a JavaScript out-of-memory message in the infobar. | 1968 // Displays a JavaScript out-of-memory message in the infobar. |
| 1969 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) | 1969 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) |
| 1970 | 1970 |
| 1971 // Register a new handler for URL requests with the given scheme. | 1971 // Register a new handler for URL requests with the given scheme. |
| 1972 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 1972 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
| 1973 std::string /* scheme */, | 1973 std::string /* scheme */, |
| 1974 GURL /* url */, | 1974 GURL /* url */, |
| 1975 string16 /* title */) | 1975 string16 /* title */) |
| 1976 | 1976 |
| 1977 // Register a new handler for Intents with the given action and type filter. |
| 1978 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterIntentHandler, |
| 1979 string16 /* action */, |
| 1980 string16 /* type */, |
| 1981 string16 /* href */, |
| 1982 string16 /* title */) |
| 1983 |
| 1977 // Stores new inspector setting in the profile. | 1984 // Stores new inspector setting in the profile. |
| 1978 // TODO(jam): this should be in the chrome module | 1985 // TODO(jam): this should be in the chrome module |
| 1979 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1986 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
| 1980 std::string, /* key */ | 1987 std::string, /* key */ |
| 1981 std::string /* value */) | 1988 std::string /* value */) |
| 1982 | 1989 |
| 1983 // Send back a string to be recorded by UserMetrics. | 1990 // Send back a string to be recorded by UserMetrics. |
| 1984 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1991 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
| 1985 std::string /* action */) | 1992 std::string /* action */) |
| 1986 | 1993 |
| 1987 // Provide the browser process with current renderer framerate. | 1994 // Provide the browser process with current renderer framerate. |
| 1988 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, | 1995 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, |
| 1989 int /* routing id */, | 1996 int /* routing id */, |
| 1990 float /* frames per second */) | 1997 float /* frames per second */) |
| 1991 | 1998 |
| 1992 // Notifies the browser that the page was or was not saved as MHTML. | 1999 // Notifies the browser that the page was or was not saved as MHTML. |
| 1993 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 2000 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
| 1994 int /* job_id */, | 2001 int /* job_id */, |
| 1995 bool /* success */) | 2002 bool /* success */) |
| 1996 | 2003 |
| 1997 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 2004 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
| 1998 std::vector<GURL> /* all savable resource links */, | 2005 std::vector<GURL> /* all savable resource links */, |
| 1999 std::vector<GURL> /* all referrers of resource links */, | 2006 std::vector<GURL> /* all referrers of resource links */, |
| 2000 std::vector<GURL> /* all frame links */) | 2007 std::vector<GURL> /* all frame links */) |
| 2001 | 2008 |
| 2002 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 2009 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
| 2003 GURL /* frame's url */, | 2010 GURL /* frame's url */, |
| 2004 std::string /* data buffer */, | 2011 std::string /* data buffer */, |
| 2005 int32 /* complete status */) | 2012 int32 /* complete status */) |
| OLD | NEW |