| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included message file, hence no include guard | 5 // Multiply-included message file, hence no include guard |
| 6 | 6 |
| 7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "ui/base/range/range.h" | 8 #include "ui/base/range/range.h" |
| 9 #include "ui/gfx/rect.h" | 9 #include "ui/gfx/rect.h" |
| 10 | 10 |
| 11 #if defined(OS_MACOSX) | 11 #if defined(OS_MACOSX) |
| 12 #include "chrome/common/attributed_string_coder_mac.h" | 12 #include "chrome/common/mac/attributed_string_coder.h" |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 #define IPC_MESSAGE_START TextInputClientMsgStart | 15 #define IPC_MESSAGE_START TextInputClientMsgStart |
| 16 | 16 |
| 17 // Browser -> Renderer Messages //////////////////////////////////////////////// | 17 // Browser -> Renderer Messages //////////////////////////////////////////////// |
| 18 // These messages are sent from the browser to the renderer. Each one has a | 18 // These messages are sent from the browser to the renderer. Each one has a |
| 19 // corresponding reply message. | 19 // corresponding reply message. |
| 20 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
| 21 | 21 |
| 22 // Tells the renderer to send back the character index for a point. | 22 // Tells the renderer to send back the character index for a point. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 // Reply message for TextInputClientMsg_FirstRectForCharacterRange. | 44 // Reply message for TextInputClientMsg_FirstRectForCharacterRange. |
| 45 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotFirstRectForRange, | 45 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotFirstRectForRange, |
| 46 gfx::Rect /* frame rectangle */) | 46 gfx::Rect /* frame rectangle */) |
| 47 | 47 |
| 48 #if defined(OS_MACOSX) | 48 #if defined(OS_MACOSX) |
| 49 // Reply message for TextInputClientMsg_StringForRange. | 49 // Reply message for TextInputClientMsg_StringForRange. |
| 50 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotStringForRange, | 50 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotStringForRange, |
| 51 mac::AttributedStringCoder::EncodedString) | 51 mac::AttributedStringCoder::EncodedString) |
| 52 #endif // defined(OS_MACOSX) | 52 #endif // defined(OS_MACOSX) |
| 53 | 53 |
| OLD | NEW |