summaryrefslogtreecommitdiffstats
path: root/chrome/common/validation_message_messages.h
blob: 01b6d7f59e0c4fa740aae095b5726ca6f9c1c6a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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/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 screen coordinate */,
                     string16 /* validation message */,
                     string16 /* supplemental text */)

IPC_MESSAGE_CONTROL0(ValidationMessageMsg_HideValidationMessage)