| Index: chrome/common/automation_messages.h
|
| diff --git a/chrome/common/automation_messages.h b/chrome/common/automation_messages.h
|
| index b5d57819b0902fbeeb519dabe07eeaf1a9618cc7..4e576b98b071947e3985990a39a58c74032b1f8d 100644
|
| --- a/chrome/common/automation_messages.h
|
| +++ b/chrome/common/automation_messages.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "chrome/common/automation_constants.h"
|
| +#include "chrome/common/automation_events.h"
|
| #include "chrome/common/content_settings.h"
|
| #include "content/public/common/common_param_traits.h"
|
| #include "content/public/common/page_type.h"
|
| @@ -145,6 +146,11 @@ IPC_STRUCT_BEGIN(AutomationURLRequest)
|
| IPC_STRUCT_MEMBER(int, load_flags) // see net/base/load_flags.h
|
| IPC_STRUCT_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(ScriptEvaluationRequest)
|
| + IPC_STRUCT_TRAITS_MEMBER(script)
|
| + IPC_STRUCT_TRAITS_MEMBER(frame_xpath)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| // Singly-included section for struct and custom IPC traits.
|
| #ifndef CHROME_COMMON_AUTOMATION_MESSAGES_H_
|
| #define CHROME_COMMON_AUTOMATION_MESSAGES_H_
|
| @@ -196,6 +202,15 @@ struct ParamTraits<ContextMenuModel> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +// Traits for AutomationMouseEvent structure to pack/unpack.
|
| +template <>
|
| +struct ParamTraits<AutomationMouseEvent> {
|
| + typedef AutomationMouseEvent param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, PickleIterator* iter, param_type* p);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H_
|
|
|