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 3 // found in the LICENSE file. 4 5 #include "base/strings/string16.h" 6 #include "ipc/ipc_message_macros.h" 7 #include "ui/gfx/rect.h" 8 9 #define IPC_MESSAGE_START ValidationMessageMsgStart 10 11 IPC_MESSAGE_CONTROL4(ValidationMessageMsg_ShowValidationMessage, 12 int /* route id */, 13 gfx::Rect /* anchor rectangle in root view coordinate */, 14 string16 /* validation message */, 15 string16 /* supplemental text */) 16 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 23