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 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1999 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) | 1999 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
2000 | 2000 |
2001 // WebKit and JavaScript error messages to log to the console | 2001 // WebKit and JavaScript error messages to log to the console |
2002 // or debugger UI. | 2002 // or debugger UI. |
2003 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | 2003 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, |
2004 int32, /* log level */ | 2004 int32, /* log level */ |
2005 string16, /* msg */ | 2005 string16, /* msg */ |
2006 int32, /* line number */ | 2006 int32, /* line number */ |
2007 string16 /* source id */) | 2007 string16 /* source id */) |
2008 | 2008 |
2009 // Sent by the renderer process to indicate that a plugin instance has | 2009 // Sent by the renderer process to indicate that a plugin instance has crashed. |
2010 // crashed. | 2010 // Note: |plugin_pid| should not be trusted. The corresponding process has |
2011 IPC_MESSAGE_ROUTED1(ViewHostMsg_CrashedPlugin, | 2011 // probably died. Moreover, the ID may have been reused by a new process. Any |
2012 FilePath /* plugin_path */) | 2012 // usage other than displaying it in a prompt to the user is very likely to be |
| 2013 // wrong. |
| 2014 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, |
| 2015 FilePath /* plugin_path */, |
| 2016 base::ProcessId /* plugin_pid */) |
2013 | 2017 |
2014 // Displays a box to confirm that the user wants to navigate away from the | 2018 // Displays a box to confirm that the user wants to navigate away from the |
2015 // page. Replies true if yes, false otherwise, the reply string is ignored, | 2019 // page. Replies true if yes, false otherwise, the reply string is ignored, |
2016 // but is included so that we can use OnJavaScriptMessageBoxClosed. | 2020 // but is included so that we can use OnJavaScriptMessageBoxClosed. |
2017 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, | 2021 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, |
2018 GURL, /* in - originating frame URL */ | 2022 GURL, /* in - originating frame URL */ |
2019 string16 /* in - alert message */, | 2023 string16 /* in - alert message */, |
2020 bool /* in - is a reload */, | 2024 bool /* in - is a reload */, |
2021 bool /* out - success */, | 2025 bool /* out - success */, |
2022 string16 /* out - This is ignored.*/) | 2026 string16 /* out - This is ignored.*/) |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2364 int /* arb_robustness_status_code */) | 2368 int /* arb_robustness_status_code */) |
2365 | 2369 |
2366 #if defined(OS_WIN) | 2370 #if defined(OS_WIN) |
2367 // Request that the given font characters be loaded by the browser so it's | 2371 // Request that the given font characters be loaded by the browser so it's |
2368 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2372 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2369 // for details. | 2373 // for details. |
2370 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2374 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2371 LOGFONT /* font_data */, | 2375 LOGFONT /* font_data */, |
2372 string16 /* characters */) | 2376 string16 /* characters */) |
2373 #endif | 2377 #endif |
OLD | NEW |