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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2003 | 2003 |
2004 // Required for updating text input state. | 2004 // Required for updating text input state. |
2005 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 2005 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
2006 ViewHostMsg_TextInputState_Params /* input state params */) | 2006 ViewHostMsg_TextInputState_Params /* input state params */) |
2007 | 2007 |
2008 // Required for cancelling an ongoing input method composition. | 2008 // Required for cancelling an ongoing input method composition. |
2009 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) | 2009 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) |
2010 | 2010 |
2011 // WebKit and JavaScript error messages to log to the console | 2011 // WebKit and JavaScript error messages to log to the console |
2012 // or debugger UI. | 2012 // or debugger UI. |
2013 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | 2013 IPC_MESSAGE_ROUTED5(ViewHostMsg_AddMessageToConsole, |
2014 int32, /* log level */ | 2014 int32, /* log level */ |
2015 string16, /* msg */ | 2015 string16, /* msg */ |
2016 int32, /* line number */ | 2016 int32, /* line number */ |
2017 string16 /* source id */) | 2017 string16, /* source id */ |
| 2018 string16 /* stack trace */ ) |
2018 | 2019 |
2019 // Sent by the renderer process to indicate that a plugin instance has crashed. | 2020 // Sent by the renderer process to indicate that a plugin instance has crashed. |
2020 // Note: |plugin_pid| should not be trusted. The corresponding process has | 2021 // Note: |plugin_pid| should not be trusted. The corresponding process has |
2021 // probably died. Moreover, the ID may have been reused by a new process. Any | 2022 // probably died. Moreover, the ID may have been reused by a new process. Any |
2022 // usage other than displaying it in a prompt to the user is very likely to be | 2023 // usage other than displaying it in a prompt to the user is very likely to be |
2023 // wrong. | 2024 // wrong. |
2024 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, | 2025 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, |
2025 base::FilePath /* plugin_path */, | 2026 base::FilePath /* plugin_path */, |
2026 base::ProcessId /* plugin_pid */) | 2027 base::ProcessId /* plugin_pid */) |
2027 | 2028 |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2364 // synchronously (see crbug.com/120597). This IPC message sends the character | 2365 // synchronously (see crbug.com/120597). This IPC message sends the character |
2365 // bounds after every composition change to always have correct bound info. | 2366 // bounds after every composition change to always have correct bound info. |
2366 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2367 ui::Range /* composition range */, | 2368 ui::Range /* composition range */, |
2368 std::vector<gfx::Rect> /* character bounds */) | 2369 std::vector<gfx::Rect> /* character bounds */) |
2369 #endif | 2370 #endif |
2370 | 2371 |
2371 // Adding a new message? Stick to the sort order above: first platform | 2372 // Adding a new message? Stick to the sort order above: first platform |
2372 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2373 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |