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/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1967 | 1967 |
1968 // Required for updating text input state. | 1968 // Required for updating text input state. |
1969 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 1969 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
1970 ViewHostMsg_TextInputState_Params /* input state params */) | 1970 ViewHostMsg_TextInputState_Params /* input state params */) |
1971 | 1971 |
1972 // Required for cancelling an ongoing input method composition. | 1972 // Required for cancelling an ongoing input method composition. |
1973 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) | 1973 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) |
1974 | 1974 |
1975 // WebKit and JavaScript error messages to log to the console | 1975 // WebKit and JavaScript error messages to log to the console |
1976 // or debugger UI. | 1976 // or debugger UI. |
1977 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | 1977 IPC_MESSAGE_ROUTED5(ViewHostMsg_AddMessageToConsole, |
1978 int32, /* log level */ | 1978 int32, /* log level */ |
1979 string16, /* msg */ | 1979 string16, /* msg */ |
1980 int32, /* line number */ | 1980 int32, /* line number */ |
1981 string16 /* source id */) | 1981 string16, /* source id */ |
| 1982 string16 /* stack trace, possibly empty */) |
1982 | 1983 |
1983 // Sent by the renderer process to indicate that a plugin instance has crashed. | 1984 // Sent by the renderer process to indicate that a plugin instance has crashed. |
1984 // Note: |plugin_pid| should not be trusted. The corresponding process has | 1985 // Note: |plugin_pid| should not be trusted. The corresponding process has |
1985 // probably died. Moreover, the ID may have been reused by a new process. Any | 1986 // probably died. Moreover, the ID may have been reused by a new process. Any |
1986 // usage other than displaying it in a prompt to the user is very likely to be | 1987 // usage other than displaying it in a prompt to the user is very likely to be |
1987 // wrong. | 1988 // wrong. |
1988 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, | 1989 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, |
1989 base::FilePath /* plugin_path */, | 1990 base::FilePath /* plugin_path */, |
1990 base::ProcessId /* plugin_pid */) | 1991 base::ProcessId /* plugin_pid */) |
1991 | 1992 |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2334 // synchronously (see crbug.com/120597). This IPC message sends the character | 2335 // synchronously (see crbug.com/120597). This IPC message sends the character |
2335 // bounds after every composition change to always have correct bound info. | 2336 // bounds after every composition change to always have correct bound info. |
2336 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2337 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2337 ui::Range /* composition range */, | 2338 ui::Range /* composition range */, |
2338 std::vector<gfx::Rect> /* character bounds */) | 2339 std::vector<gfx::Rect> /* character bounds */) |
2339 #endif | 2340 #endif |
2340 | 2341 |
2341 // Adding a new message? Stick to the sort order above: first platform | 2342 // Adding a new message? Stick to the sort order above: first platform |
2342 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2343 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2343 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2344 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |