| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "base/strings/string16.h" | 5 #include "base/strings/string16.h" |
| 6 #include "ipc/ipc_message_macros.h" | 6 #include "ipc/ipc_message_macros.h" |
| 7 #include "ui/gfx/rect.h" | 7 #include "ui/gfx/rect.h" |
| 8 | 8 |
| 9 #define IPC_MESSAGE_START ValidationMessageMsgStart | 9 #define IPC_MESSAGE_START ValidationMessageMsgStart |
| 10 | 10 |
| 11 IPC_MESSAGE_CONTROL4(ValidationMessageMsg_ShowValidationMessage, | 11 IPC_MESSAGE_CONTROL4(ValidationMessageMsg_ShowValidationMessage, |
| 12 int /* route id */, | 12 int /* route id */, |
| 13 gfx::Rect /* anchor rectangle in screen coordinate */, | 13 gfx::Rect /* anchor rectangle in root view coordinate */, |
| 14 string16 /* validation message */, | 14 string16 /* validation message */, |
| 15 string16 /* supplemental text */) | 15 string16 /* supplemental text */) |
| 16 | 16 |
| 17 IPC_MESSAGE_CONTROL0(ValidationMessageMsg_HideValidationMessage) | 17 IPC_MESSAGE_CONTROL0(ValidationMessageMsg_HideValidationMessage) |
| 18 |
| 19 IPC_MESSAGE_CONTROL2(ValidationMessageMsg_MoveValidationMessage, |
| 20 int /* route id */, |
| 21 gfx::Rect /* anchor rectangle in root view coordinate */) |
| 22 |
| OLD | NEW |