OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COMMON_AUTOMATION_MESSAGES_H__ | 5 // Multiply-included file, no standard include guard. |
6 #define CHROME_COMMON_AUTOMATION_MESSAGES_H__ | |
7 #pragma once | |
8 | 6 |
9 #include <string> | 7 #include <string> |
10 | 8 |
11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
12 #include "chrome/common/automation_constants.h" | 10 #include "chrome/common/automation_constants.h" |
13 #include "chrome/common/common_param_traits.h" | 11 #include "chrome/common/common_param_traits.h" |
14 #include "chrome/common/page_type.h" | 12 #include "chrome/common/page_type.h" |
15 #include "chrome/common/security_style.h" | 13 #include "chrome/common/security_style.h" |
16 #include "chrome/common/common_param_traits.h" | 14 #include "chrome/common/common_param_traits.h" |
| 15 #include "content/common/common_param_traits.h" |
| 16 #include "ipc/ipc_message_macros.h" |
| 17 #include "ipc/ipc_message_utils.h" |
17 #include "net/base/host_port_pair.h" | 18 #include "net/base/host_port_pair.h" |
18 #include "net/base/upload_data.h" | 19 #include "net/base/upload_data.h" |
19 #include "ui/gfx/rect.h" | 20 #include "ui/gfx/rect.h" |
20 | 21 |
| 22 // Singly-included section not yet converted. |
| 23 #ifndef CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
| 24 #define CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
| 25 |
21 struct AutomationMsg_Find_Params { | 26 struct AutomationMsg_Find_Params { |
22 // Unused value, which exists only for backwards compat. | 27 // Unused value, which exists only for backwards compat. |
23 int unused; | 28 int unused; |
24 | 29 |
25 // The word(s) to find on the page. | 30 // The word(s) to find on the page. |
26 string16 search_string; | 31 string16 search_string; |
27 | 32 |
28 // Whether to search forward or backward within the page. | 33 // Whether to search forward or backward within the page. |
29 bool forward; | 34 bool forward; |
30 | 35 |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 template <> | 353 template <> |
349 struct ParamTraits<AttachExternalTabParams> { | 354 struct ParamTraits<AttachExternalTabParams> { |
350 typedef AttachExternalTabParams param_type; | 355 typedef AttachExternalTabParams param_type; |
351 static void Write(Message* m, const param_type& p); | 356 static void Write(Message* m, const param_type& p); |
352 static bool Read(const Message* m, void** iter, param_type* p); | 357 static bool Read(const Message* m, void** iter, param_type* p); |
353 static void Log(const param_type& p, std::string* l); | 358 static void Log(const param_type& p, std::string* l); |
354 }; | 359 }; |
355 | 360 |
356 } // namespace IPC | 361 } // namespace IPC |
357 | 362 |
| 363 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
| 364 |
| 365 // Keep this internal message file unchanged to preserve line numbering |
| 366 // (and hence the dubious __LINE__-based message numberings) across versions. |
358 #include "chrome/common/automation_messages_internal.h" | 367 #include "chrome/common/automation_messages_internal.h" |
359 | 368 |
360 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ | |
OLD | NEW |