OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ | 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ |
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ | 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 338 matching lines...) Loading... |
349 | 349 |
350 struct ExternalTabSettings { | 350 struct ExternalTabSettings { |
351 gfx::NativeWindow parent; | 351 gfx::NativeWindow parent; |
352 gfx::Rect dimensions; | 352 gfx::Rect dimensions; |
353 unsigned int style; | 353 unsigned int style; |
354 bool is_off_the_record; | 354 bool is_off_the_record; |
355 bool load_requests_via_automation; | 355 bool load_requests_via_automation; |
356 bool handle_top_level_requests; | 356 bool handle_top_level_requests; |
357 GURL initial_url; | 357 GURL initial_url; |
358 GURL referrer; | 358 GURL referrer; |
359 bool infobars_enabled; | |
360 }; | 359 }; |
361 | 360 |
362 // Traits for ExternalTabSettings structure to pack/unpack. | 361 // Traits for ExternalTabSettings structure to pack/unpack. |
363 template <> | 362 template <> |
364 struct ParamTraits<ExternalTabSettings> { | 363 struct ParamTraits<ExternalTabSettings> { |
365 typedef ExternalTabSettings param_type; | 364 typedef ExternalTabSettings param_type; |
366 static void Write(Message* m, const param_type& p) { | 365 static void Write(Message* m, const param_type& p) { |
367 WriteParam(m, p.parent); | 366 WriteParam(m, p.parent); |
368 WriteParam(m, p.dimensions); | 367 WriteParam(m, p.dimensions); |
369 WriteParam(m, p.style); | 368 WriteParam(m, p.style); |
(...skipping 197 matching lines...) Loading... |
567 } | 566 } |
568 }; | 567 }; |
569 | 568 |
570 } // namespace IPC | 569 } // namespace IPC |
571 | 570 |
572 #define MESSAGES_INTERNAL_FILE \ | 571 #define MESSAGES_INTERNAL_FILE \ |
573 "chrome/test/automation/automation_messages_internal.h" | 572 "chrome/test/automation/automation_messages_internal.h" |
574 #include "ipc/ipc_message_macros.h" | 573 #include "ipc/ipc_message_macros.h" |
575 | 574 |
576 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ | 575 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__ |
OLD | NEW |