OLD | NEW |
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" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 ~AttachExternalTabParams(); | 202 ~AttachExternalTabParams(); |
203 | 203 |
204 uint64 cookie; | 204 uint64 cookie; |
205 GURL url; | 205 GURL url; |
206 gfx::Rect dimensions; | 206 gfx::Rect dimensions; |
207 int disposition; | 207 int disposition; |
208 bool user_gesture; | 208 bool user_gesture; |
209 std::string profile_name; | 209 std::string profile_name; |
210 }; | 210 }; |
211 | 211 |
212 #if defined(OS_WIN) | 212 #if defined(OS_WIN) && !defined(USE_AURA) |
213 | 213 |
214 struct Reposition_Params { | 214 struct Reposition_Params { |
215 HWND window; | 215 HWND window; |
216 HWND window_insert_after; | 216 HWND window_insert_after; |
217 int left; | 217 int left; |
218 int top; | 218 int top; |
219 int width; | 219 int width; |
220 int height; | 220 int height; |
221 int flags; | 221 int flags; |
222 bool set_parent; | 222 bool set_parent; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 }; | 280 }; |
281 | 281 |
282 template <> | 282 template <> |
283 struct ParamTraits<PageType> { | 283 struct ParamTraits<PageType> { |
284 typedef PageType param_type; | 284 typedef PageType param_type; |
285 static void Write(Message* m, const param_type& p); | 285 static void Write(Message* m, const param_type& p); |
286 static bool Read(const Message* m, void** iter, param_type* p); | 286 static bool Read(const Message* m, void** iter, param_type* p); |
287 static void Log(const param_type& p, std::string* l); | 287 static void Log(const param_type& p, std::string* l); |
288 }; | 288 }; |
289 | 289 |
290 #if defined(OS_WIN) | 290 #if defined(OS_WIN) && !defined(USE_AURA) |
291 | 291 |
292 // Traits for SetWindowPos_Params structure to pack/unpack. | 292 // Traits for SetWindowPos_Params structure to pack/unpack. |
293 template <> | 293 template <> |
294 struct ParamTraits<Reposition_Params> { | 294 struct ParamTraits<Reposition_Params> { |
295 typedef Reposition_Params param_type; | 295 typedef Reposition_Params param_type; |
296 static void Write(Message* m, const param_type& p) { | 296 static void Write(Message* m, const param_type& p) { |
297 WriteParam(m, p.window); | 297 WriteParam(m, p.window); |
298 WriteParam(m, p.window_insert_after); | 298 WriteParam(m, p.window_insert_after); |
299 WriteParam(m, p.left); | 299 WriteParam(m, p.left); |
300 WriteParam(m, p.top); | 300 WriteParam(m, p.top); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 static void Log(const param_type& p, std::string* l); | 401 static void Log(const param_type& p, std::string* l); |
402 }; | 402 }; |
403 | 403 |
404 } // namespace IPC | 404 } // namespace IPC |
405 | 405 |
406 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ | 406 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
407 | 407 |
408 // Keep this internal message file unchanged to preserve line numbering | 408 // Keep this internal message file unchanged to preserve line numbering |
409 // (and hence the dubious __LINE__-based message numberings) across versions. | 409 // (and hence the dubious __LINE__-based message numberings) across versions. |
410 #include "chrome/common/automation_messages_internal.h" | 410 #include "chrome/common/automation_messages_internal.h" |
OLD | NEW |