| 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 1986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1997 // WebKit and JavaScript error messages to log to the console | 1997 // WebKit and JavaScript error messages to log to the console |
| 1998 // or debugger UI. | 1998 // or debugger UI. |
| 1999 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | 1999 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, |
| 2000 int32, /* log level */ | 2000 int32, /* log level */ |
| 2001 string16, /* msg */ | 2001 string16, /* msg */ |
| 2002 int32, /* line number */ | 2002 int32, /* line number */ |
| 2003 string16 /* source id */) | 2003 string16 /* source id */) |
| 2004 | 2004 |
| 2005 // Sent by the renderer process to indicate that a plugin instance has | 2005 // Sent by the renderer process to indicate that a plugin instance has |
| 2006 // crashed. | 2006 // crashed. |
| 2007 IPC_MESSAGE_ROUTED1(ViewHostMsg_CrashedPlugin, | 2007 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, |
| 2008 FilePath /* plugin_path */) | 2008 FilePath /* plugin_path */, |
| 2009 base::ProcessId /* plugin_pid */) |
| 2009 | 2010 |
| 2010 // Displays a box to confirm that the user wants to navigate away from the | 2011 // Displays a box to confirm that the user wants to navigate away from the |
| 2011 // page. Replies true if yes, false otherwise, the reply string is ignored, | 2012 // page. Replies true if yes, false otherwise, the reply string is ignored, |
| 2012 // but is included so that we can use OnJavaScriptMessageBoxClosed. | 2013 // but is included so that we can use OnJavaScriptMessageBoxClosed. |
| 2013 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, | 2014 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, |
| 2014 GURL, /* in - originating frame URL */ | 2015 GURL, /* in - originating frame URL */ |
| 2015 string16 /* in - alert message */, | 2016 string16 /* in - alert message */, |
| 2016 bool /* in - is a reload */, | 2017 bool /* in - is a reload */, |
| 2017 bool /* out - success */, | 2018 bool /* out - success */, |
| 2018 string16 /* out - This is ignored.*/) | 2019 string16 /* out - This is ignored.*/) |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2354 int /* arb_robustness_status_code */) | 2355 int /* arb_robustness_status_code */) |
| 2355 | 2356 |
| 2356 #if defined(OS_WIN) | 2357 #if defined(OS_WIN) |
| 2357 // Request that the given font characters be loaded by the browser so it's | 2358 // Request that the given font characters be loaded by the browser so it's |
| 2358 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2359 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2359 // for details. | 2360 // for details. |
| 2360 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2361 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2361 LOGFONT /* font_data */, | 2362 LOGFONT /* font_data */, |
| 2362 string16 /* characters */) | 2363 string16 /* characters */) |
| 2363 #endif | 2364 #endif |
| OLD | NEW |