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