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