summaryrefslogtreecommitdiffstats
path: root/chrome/common/validation_message_messages.h
blob: 94472b3277d97aeeb67b49c0f0f782e939a1135f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/strings/string16.h"
#include "ipc/ipc_message_macros.h"
#include "ui/gfx/rect.h"

#define IPC_MESSAGE_START ValidationMessageMsgStart

IPC_MESSAGE_CONTROL4(ValidationMessageMsg_ShowValidationMessage,
                     int /* route id */,
                     gfx::Rect /* anchor rectangle in root view coordinate */,
                     string16 /* validation message */,
                     string16 /* supplemental text */)

IPC_MESSAGE_CONTROL0(ValidationMessageMsg_HideValidationMessage)

IPC_MESSAGE_CONTROL2(ValidationMessageMsg_MoveValidationMessage,
                     int /* route id */,
                     gfx::Rect /* anchor rectangle in root view coordinate */)