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 #ifndef CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
6 #define CHROME_COMMON_AUTOMATION_MESSAGES_H__ | 6 #define CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/common/automation_constants.h" | 12 #include "chrome/common/automation_constants.h" |
13 #include "chrome/common/common_param_traits.h" | 13 #include "chrome/common/common_param_traits.h" |
14 #include "chrome/common/page_type.h" | 14 #include "chrome/common/page_type.h" |
15 #include "chrome/common/security_style.h" | 15 #include "chrome/common/security_style.h" |
16 #include "chrome/common/common_param_traits.h" | 16 #include "chrome/common/common_param_traits.h" |
17 #include "gfx/rect.h" | |
18 #include "net/base/upload_data.h" | 17 #include "net/base/upload_data.h" |
| 18 #include "ui/gfx/rect.h" |
19 | 19 |
20 struct AutomationMsg_Find_Params { | 20 struct AutomationMsg_Find_Params { |
21 // Unused value, which exists only for backwards compat. | 21 // Unused value, which exists only for backwards compat. |
22 int unused; | 22 int unused; |
23 | 23 |
24 // The word(s) to find on the page. | 24 // The word(s) to find on the page. |
25 string16 search_string; | 25 string16 search_string; |
26 | 26 |
27 // Whether to search forward or backward within the page. | 27 // Whether to search forward or backward within the page. |
28 bool forward; | 28 bool forward; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 static void Write(Message* m, const param_type& p); | 348 static void Write(Message* m, const param_type& p); |
349 static bool Read(const Message* m, void** iter, param_type* p); | 349 static bool Read(const Message* m, void** iter, param_type* p); |
350 static void Log(const param_type& p, std::string* l); | 350 static void Log(const param_type& p, std::string* l); |
351 }; | 351 }; |
352 | 352 |
353 } // namespace IPC | 353 } // namespace IPC |
354 | 354 |
355 #include "chrome/common/automation_messages_internal.h" | 355 #include "chrome/common/automation_messages_internal.h" |
356 | 356 |
357 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ | 357 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
OLD | NEW |