Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: content/common/text_input_client_messages.h

Issue 1619363002: Add compile time checks against longs being used in IPC structs on 32 bit Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more per Dmitry Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // Multiply-included message file, hence no include guard 5 // Multiply-included message file, hence no include guard
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 30 matching lines...) Expand all
41 IPC_MESSAGE_ROUTED1(TextInputClientMsg_StringAtPoint, gfx::Point) 41 IPC_MESSAGE_ROUTED1(TextInputClientMsg_StringAtPoint, gfx::Point)
42 42
43 //////////////////////////////////////////////////////////////////////////////// 43 ////////////////////////////////////////////////////////////////////////////////
44 44
45 // Renderer -> Browser Replies ///////////////////////////////////////////////// 45 // Renderer -> Browser Replies /////////////////////////////////////////////////
46 // These messages are sent in reply to the above messages. 46 // These messages are sent in reply to the above messages.
47 //////////////////////////////////////////////////////////////////////////////// 47 ////////////////////////////////////////////////////////////////////////////////
48 48
49 // Reply message for TextInputClientMsg_CharacterIndexForPoint. 49 // Reply message for TextInputClientMsg_CharacterIndexForPoint.
50 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotCharacterIndexForPoint, 50 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotCharacterIndexForPoint,
51 size_t /* character index */) 51 uint32_t /* character index */)
52 52
53 // Reply message for TextInputClientMsg_FirstRectForCharacterRange. 53 // Reply message for TextInputClientMsg_FirstRectForCharacterRange.
54 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotFirstRectForRange, 54 IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotFirstRectForRange,
55 gfx::Rect /* frame rectangle */) 55 gfx::Rect /* frame rectangle */)
56 56
57 #if defined(OS_MACOSX) 57 #if defined(OS_MACOSX)
58 // Reply message for TextInputClientMsg_StringForRange. 58 // Reply message for TextInputClientMsg_StringForRange.
59 IPC_MESSAGE_ROUTED2(TextInputClientReplyMsg_GotStringForRange, 59 IPC_MESSAGE_ROUTED2(TextInputClientReplyMsg_GotStringForRange,
60 mac::AttributedStringCoder::EncodedString, 60 mac::AttributedStringCoder::EncodedString,
61 gfx::Point) 61 gfx::Point)
62 62
63 // Reply message for TextInputClientMsg_StringAtPoint 63 // Reply message for TextInputClientMsg_StringAtPoint
64 IPC_MESSAGE_ROUTED2(TextInputClientReplyMsg_GotStringAtPoint, 64 IPC_MESSAGE_ROUTED2(TextInputClientReplyMsg_GotStringAtPoint,
65 mac::AttributedStringCoder::EncodedString, 65 mac::AttributedStringCoder::EncodedString,
66 gfx::Point) 66 gfx::Point)
67 #endif // defined(OS_MACOSX) 67 #endif // defined(OS_MACOSX)
68 68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698