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 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2008 | 2008 |
2009 // Required for updating text input state. | 2009 // Required for updating text input state. |
2010 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 2010 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
2011 ViewHostMsg_TextInputState_Params /* input state params */) | 2011 ViewHostMsg_TextInputState_Params /* input state params */) |
2012 | 2012 |
2013 // Required for cancelling an ongoing input method composition. | 2013 // Required for cancelling an ongoing input method composition. |
2014 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) | 2014 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) |
2015 | 2015 |
2016 // WebKit and JavaScript error messages to log to the console | 2016 // WebKit and JavaScript error messages to log to the console |
2017 // or debugger UI. | 2017 // or debugger UI. |
2018 IPC_MESSAGE_ROUTED5(ViewHostMsg_AddMessageToConsole, | 2018 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, |
2019 int32, /* log level */ | 2019 int32, /* log level */ |
2020 string16, /* msg */ | 2020 string16, /* msg */ |
2021 int32, /* line number */ | 2021 int32, /* line number */ |
2022 string16, /* source id */ | 2022 string16 /* source id */ ) |
2023 string16 /* stack trace */ ) | |
2024 | 2023 |
2025 // 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. |
2026 // Note: |plugin_pid| should not be trusted. The corresponding process has | 2025 // Note: |plugin_pid| should not be trusted. The corresponding process has |
2027 // 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 |
2028 // 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 |
2029 // wrong. | 2028 // wrong. |
2030 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, | 2029 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, |
2031 base::FilePath /* plugin_path */, | 2030 base::FilePath /* plugin_path */, |
2032 base::ProcessId /* plugin_pid */) | 2031 base::ProcessId /* plugin_pid */) |
2033 | 2032 |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2370 // synchronously (see crbug.com/120597). This IPC message sends the character | 2369 // synchronously (see crbug.com/120597). This IPC message sends the character |
2371 // bounds after every composition change to always have correct bound info. | 2370 // bounds after every composition change to always have correct bound info. |
2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2371 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2373 ui::Range /* composition range */, | 2372 ui::Range /* composition range */, |
2374 std::vector<gfx::Rect> /* character bounds */) | 2373 std::vector<gfx::Rect> /* character bounds */) |
2375 #endif | 2374 #endif |
2376 | 2375 |
2377 // 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 |
2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2377 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2378 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |