Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / chrome / common / automation_messages.h
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
3 // found in the LICENSE file.
4
5 // Multiply-included message file, no traditional include guard.
6 #include <string>
7 #include <vector>
8
9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h"
11 #include "chrome/common/automation_constants.h"
12 #include "chrome/common/common_param_traits.h"
13 #include "content/public/common/common_param_traits.h"
14 #include "content/public/common/page_type.h"
15 #include "ipc/ipc_message_macros.h"
16 #include "ipc/ipc_message_utils.h"
17 #include "ui/gfx/rect.h"
18 #include "url/gurl.h"
19
20 IPC_ENUM_TRAITS(AutomationMsg_NavigationResponseValues)
21 IPC_ENUM_TRAITS(content::PageType)
22
23 IPC_STRUCT_BEGIN(AutomationMsg_Find_Params)
24   // The word(s) to find on the page.
25   IPC_STRUCT_MEMBER(base::string16, search_string)
26
27   // Whether to search forward or backward within the page.
28   IPC_STRUCT_MEMBER(bool, forward)
29
30   // Whether search should be Case sensitive.
31   IPC_STRUCT_MEMBER(bool, match_case)
32
33   // Whether this operation is first request (Find) or a follow-up (FindNext).
34   IPC_STRUCT_MEMBER(bool, find_next)
35 IPC_STRUCT_END()
36
37 // Keep this internal message file unchanged to preserve line numbering
38 // (and hence the dubious __LINE__-based message numberings) across versions.
39 #include "chrome/common/automation_messages_internal.h"