Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: chrome/common/automation_messages.h

Issue 9382037: Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Multiply-included message file, no traditional include guard. 5 // Multiply-included message file, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "chrome/common/automation_constants.h" 11 #include "chrome/common/automation_constants.h"
12 #include "chrome/common/content_settings.h" 12 #include "chrome/common/content_settings.h"
13 #include "content/public/common/common_param_traits.h" 13 #include "content/public/common/common_param_traits.h"
14 #include "content/public/common/page_type.h" 14 #include "content/public/common/page_type.h"
15 #include "content/public/common/security_style.h" 15 #include "content/public/common/security_style.h"
16 #include "content/public/common/webkit_param_traits.h" 16 #include "content/public/common/webkit_param_traits.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 #include "ipc/ipc_message_utils.h" 19 #include "ipc/ipc_message_utils.h"
20 #include "net/base/cert_status_flags.h" 20 #include "net/base/cert_status_flags.h"
21 #include "net/base/host_port_pair.h" 21 #include "net/base/host_port_pair.h"
22 #include "net/base/upload_data.h" 22 #include "net/base/upload_data.h"
23 #include "net/url_request/url_request_status.h" 23 #include "net/url_request/url_request_status.h"
24 #include "ui/gfx/rect.h" 24 #include "ui/gfx/rect.h"
25 #include "webkit/glue/window_open_disposition.h" 25 #include "webkit/glue/window_open_disposition.h"
26 26
27 IPC_ENUM_TRAITS(AutomationMsg_NavigationResponseValues) 27 IPC_ENUM_TRAITS(AutomationMsg_NavigationResponseValues)
28 IPC_ENUM_TRAITS(AutomationMsg_ExtensionProperty) 28 IPC_ENUM_TRAITS(AutomationMsg_ExtensionProperty)
29 IPC_ENUM_TRAITS(content::PageType) 29 IPC_ENUM_TRAITS(content::PageType)
30 IPC_ENUM_TRAITS(content::SecurityStyle)
31 30
32 IPC_STRUCT_BEGIN(AutomationMsg_Find_Params) 31 IPC_STRUCT_BEGIN(AutomationMsg_Find_Params)
33 // The word(s) to find on the page. 32 // The word(s) to find on the page.
34 IPC_STRUCT_MEMBER(string16, search_string) 33 IPC_STRUCT_MEMBER(string16, search_string)
35 34
36 // Whether to search forward or backward within the page. 35 // Whether to search forward or backward within the page.
37 IPC_STRUCT_MEMBER(bool, forward) 36 IPC_STRUCT_MEMBER(bool, forward)
38 37
39 // Whether search should be Case sensitive. 38 // Whether search should be Case sensitive.
40 IPC_STRUCT_MEMBER(bool, match_case) 39 IPC_STRUCT_MEMBER(bool, match_case)
(...skipping 30 matching lines...) Expand all
71 IPC_STRUCT_MEMBER(int, relative_offset) 70 IPC_STRUCT_MEMBER(int, relative_offset)
72 IPC_STRUCT_MEMBER(int, navigation_index) 71 IPC_STRUCT_MEMBER(int, navigation_index)
73 IPC_STRUCT_MEMBER(std::wstring, title) 72 IPC_STRUCT_MEMBER(std::wstring, title)
74 IPC_STRUCT_MEMBER(GURL, url) 73 IPC_STRUCT_MEMBER(GURL, url)
75 IPC_STRUCT_MEMBER(GURL, referrer) 74 IPC_STRUCT_MEMBER(GURL, referrer)
76 IPC_STRUCT_MEMBER(content::SecurityStyle, security_style) 75 IPC_STRUCT_MEMBER(content::SecurityStyle, security_style)
77 IPC_STRUCT_MEMBER(bool, displayed_insecure_content) 76 IPC_STRUCT_MEMBER(bool, displayed_insecure_content)
78 IPC_STRUCT_MEMBER(bool, ran_insecure_content) 77 IPC_STRUCT_MEMBER(bool, ran_insecure_content)
79 IPC_STRUCT_END() 78 IPC_STRUCT_END()
80 79
81 // A stripped down version of ContextMenuParams in webkit/glue/context_menu.h. 80 // A stripped down version of ContextMenuParams.
82 IPC_STRUCT_BEGIN(MiniContextMenuParams) 81 IPC_STRUCT_BEGIN(MiniContextMenuParams)
83 // The x coordinate for displaying the menu. 82 // The x coordinate for displaying the menu.
84 IPC_STRUCT_MEMBER(int, screen_x) 83 IPC_STRUCT_MEMBER(int, screen_x)
85 84
86 // The y coordinate for displaying the menu. 85 // The y coordinate for displaying the menu.
87 IPC_STRUCT_MEMBER(int, screen_y) 86 IPC_STRUCT_MEMBER(int, screen_y)
88 87
89 // This is the URL of the link that encloses the node the context menu was 88 // This is the URL of the link that encloses the node the context menu was
90 // invoked on. 89 // invoked on.
91 IPC_STRUCT_MEMBER(GURL, link_url) 90 IPC_STRUCT_MEMBER(GURL, link_url)
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 static void Log(const param_type& p, std::string* l); 196 static void Log(const param_type& p, std::string* l);
198 }; 197 };
199 198
200 } // namespace IPC 199 } // namespace IPC
201 200
202 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H_ 201 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H_
203 202
204 // Keep this internal message file unchanged to preserve line numbering 203 // Keep this internal message file unchanged to preserve line numbering
205 // (and hence the dubious __LINE__-based message numberings) across versions. 204 // (and hence the dubious __LINE__-based message numberings) across versions.
206 #include "chrome/common/automation_messages_internal.h" 205 #include "chrome/common/automation_messages_internal.h"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698