OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 IPC_STRUCT_MEMBER(std::string, mime_type) | 46 IPC_STRUCT_MEMBER(std::string, mime_type) |
47 IPC_STRUCT_MEMBER(std::string, headers) | 47 IPC_STRUCT_MEMBER(std::string, headers) |
48 IPC_STRUCT_MEMBER(int64, content_length) | 48 IPC_STRUCT_MEMBER(int64, content_length) |
49 IPC_STRUCT_MEMBER(base::Time, last_modified) | 49 IPC_STRUCT_MEMBER(base::Time, last_modified) |
50 IPC_STRUCT_MEMBER(std::string, redirect_url) | 50 IPC_STRUCT_MEMBER(std::string, redirect_url) |
51 IPC_STRUCT_MEMBER(int, redirect_status) | 51 IPC_STRUCT_MEMBER(int, redirect_status) |
52 IPC_STRUCT_MEMBER(net::HostPortPair, socket_address) | 52 IPC_STRUCT_MEMBER(net::HostPortPair, socket_address) |
53 IPC_STRUCT_MEMBER(uint64, upload_size) | 53 IPC_STRUCT_MEMBER(uint64, upload_size) |
54 IPC_STRUCT_END() | 54 IPC_STRUCT_END() |
55 | 55 |
| 56 #if defined(OS_WIN) |
| 57 |
56 IPC_STRUCT_BEGIN(ExternalTabSettings) | 58 IPC_STRUCT_BEGIN(ExternalTabSettings) |
57 IPC_STRUCT_MEMBER(gfx::NativeWindow, parent) | 59 IPC_STRUCT_MEMBER(HWND, parent) |
58 IPC_STRUCT_MEMBER(gfx::Rect, dimensions) | 60 IPC_STRUCT_MEMBER(gfx::Rect, dimensions) |
59 IPC_STRUCT_MEMBER(unsigned int, style) | 61 IPC_STRUCT_MEMBER(unsigned int, style) |
60 IPC_STRUCT_MEMBER(bool, is_incognito) | 62 IPC_STRUCT_MEMBER(bool, is_incognito) |
61 IPC_STRUCT_MEMBER(bool, load_requests_via_automation) | 63 IPC_STRUCT_MEMBER(bool, load_requests_via_automation) |
62 IPC_STRUCT_MEMBER(bool, handle_top_level_requests) | 64 IPC_STRUCT_MEMBER(bool, handle_top_level_requests) |
63 IPC_STRUCT_MEMBER(GURL, initial_url) | 65 IPC_STRUCT_MEMBER(GURL, initial_url) |
64 IPC_STRUCT_MEMBER(GURL, referrer) | 66 IPC_STRUCT_MEMBER(GURL, referrer) |
65 IPC_STRUCT_MEMBER(bool, infobars_enabled) | 67 IPC_STRUCT_MEMBER(bool, infobars_enabled) |
66 IPC_STRUCT_MEMBER(bool, route_all_top_level_navigations) | 68 IPC_STRUCT_MEMBER(bool, route_all_top_level_navigations) |
67 IPC_STRUCT_END() | 69 IPC_STRUCT_END() |
68 | 70 |
| 71 #endif // defined(OS_WIN) |
| 72 |
69 IPC_STRUCT_BEGIN(NavigationInfo) | 73 IPC_STRUCT_BEGIN(NavigationInfo) |
70 IPC_STRUCT_MEMBER(int, navigation_type) | 74 IPC_STRUCT_MEMBER(int, navigation_type) |
71 IPC_STRUCT_MEMBER(int, relative_offset) | 75 IPC_STRUCT_MEMBER(int, relative_offset) |
72 IPC_STRUCT_MEMBER(int, navigation_index) | 76 IPC_STRUCT_MEMBER(int, navigation_index) |
73 IPC_STRUCT_MEMBER(std::wstring, title) | 77 IPC_STRUCT_MEMBER(std::wstring, title) |
74 IPC_STRUCT_MEMBER(GURL, url) | 78 IPC_STRUCT_MEMBER(GURL, url) |
75 IPC_STRUCT_MEMBER(GURL, referrer) | 79 IPC_STRUCT_MEMBER(GURL, referrer) |
76 IPC_STRUCT_MEMBER(content::SecurityStyle, security_style) | 80 IPC_STRUCT_MEMBER(content::SecurityStyle, security_style) |
77 IPC_STRUCT_MEMBER(bool, displayed_insecure_content) | 81 IPC_STRUCT_MEMBER(bool, displayed_insecure_content) |
78 IPC_STRUCT_MEMBER(bool, ran_insecure_content) | 82 IPC_STRUCT_MEMBER(bool, ran_insecure_content) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 117 |
114 IPC_STRUCT_BEGIN(AttachExternalTabParams) | 118 IPC_STRUCT_BEGIN(AttachExternalTabParams) |
115 IPC_STRUCT_MEMBER(uint64, cookie) | 119 IPC_STRUCT_MEMBER(uint64, cookie) |
116 IPC_STRUCT_MEMBER(GURL, url) | 120 IPC_STRUCT_MEMBER(GURL, url) |
117 IPC_STRUCT_MEMBER(gfx::Rect, dimensions) | 121 IPC_STRUCT_MEMBER(gfx::Rect, dimensions) |
118 IPC_STRUCT_MEMBER(int, disposition) | 122 IPC_STRUCT_MEMBER(int, disposition) |
119 IPC_STRUCT_MEMBER(bool, user_gesture) | 123 IPC_STRUCT_MEMBER(bool, user_gesture) |
120 IPC_STRUCT_MEMBER(std::string, profile_name) | 124 IPC_STRUCT_MEMBER(std::string, profile_name) |
121 IPC_STRUCT_END() | 125 IPC_STRUCT_END() |
122 | 126 |
123 #if defined(OS_WIN) && !defined(USE_AURA) | 127 #if defined(OS_WIN) |
124 | 128 |
125 IPC_STRUCT_BEGIN(Reposition_Params) | 129 IPC_STRUCT_BEGIN(Reposition_Params) |
126 IPC_STRUCT_MEMBER(HWND, window) | 130 IPC_STRUCT_MEMBER(HWND, window) |
127 IPC_STRUCT_MEMBER(HWND, window_insert_after) | 131 IPC_STRUCT_MEMBER(HWND, window_insert_after) |
128 IPC_STRUCT_MEMBER(int, left) | 132 IPC_STRUCT_MEMBER(int, left) |
129 IPC_STRUCT_MEMBER(int, top) | 133 IPC_STRUCT_MEMBER(int, top) |
130 IPC_STRUCT_MEMBER(int, width) | 134 IPC_STRUCT_MEMBER(int, width) |
131 IPC_STRUCT_MEMBER(int, height) | 135 IPC_STRUCT_MEMBER(int, height) |
132 IPC_STRUCT_MEMBER(int, flags) | 136 IPC_STRUCT_MEMBER(int, flags) |
133 IPC_STRUCT_MEMBER(bool, set_parent) | 137 IPC_STRUCT_MEMBER(bool, set_parent) |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 static void Log(const param_type& p, std::string* l); | 229 static void Log(const param_type& p, std::string* l); |
226 }; | 230 }; |
227 | 231 |
228 } // namespace IPC | 232 } // namespace IPC |
229 | 233 |
230 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H_ | 234 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H_ |
231 | 235 |
232 // Keep this internal message file unchanged to preserve line numbering | 236 // Keep this internal message file unchanged to preserve line numbering |
233 // (and hence the dubious __LINE__-based message numberings) across versions. | 237 // (and hence the dubious __LINE__-based message numberings) across versions. |
234 #include "chrome/common/automation_messages_internal.h" | 238 #include "chrome/common/automation_messages_internal.h" |
OLD | NEW |