| Index: content/shell/common/shell_messages.h
|
| diff --git a/content/shell/common/shell_messages.h b/content/shell/common/shell_messages.h
|
| index 087def0f8875c331c72bfba74f403bca3985fff4..ef4533066feb393f0441c44f72058ae94bb2b987 100644
|
| --- a/content/shell/common/shell_messages.h
|
| +++ b/content/shell/common/shell_messages.h
|
| @@ -10,6 +10,7 @@
|
| #include "content/public/common/common_param_traits.h"
|
| #include "content/public/common/page_state.h"
|
| #include "content/shell/common/leak_detection_result.h"
|
| +#include "content/shell/common/shell_test_configuration.h"
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ipc/ipc_platform_file.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| @@ -18,12 +19,36 @@
|
|
|
| #define IPC_MESSAGE_START ShellMsgStart
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(content::ShellTestConfiguration)
|
| +IPC_STRUCT_TRAITS_MEMBER(current_working_directory)
|
| +IPC_STRUCT_TRAITS_MEMBER(temp_path)
|
| +IPC_STRUCT_TRAITS_MEMBER(test_url)
|
| +IPC_STRUCT_TRAITS_MEMBER(enable_pixel_dumping)
|
| +IPC_STRUCT_TRAITS_MEMBER(allow_external_pages)
|
| +IPC_STRUCT_TRAITS_MEMBER(expected_pixel_hash)
|
| +IPC_STRUCT_TRAITS_MEMBER(initial_size)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| // Tells the renderer to reset all test runners.
|
| IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset)
|
|
|
| // Sets the path to the WebKit checkout.
|
| IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir,
|
| base::FilePath /* webkit source dir */)
|
| +
|
| +// Sets the test config for a layout test that is being started. This message
|
| +// is sent only to a renderer that hosts parts of the main test window.
|
| +IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration,
|
| + content::ShellTestConfiguration)
|
| +
|
| +// Replicates test config (for an already started test) to a new renderer
|
| +// that hosts parts of the main test window.
|
| +IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplicateTestConfiguration,
|
| + content::ShellTestConfiguration)
|
| +
|
| +// Sets up a secondary renderer (renderer that doesn't [yet] host parts of the
|
| +// main test window) for a layout test.
|
| +IPC_MESSAGE_ROUTED0(ShellViewMsg_SetupSecondaryRenderer)
|
|
|
| // Tells the main window that a secondary renderer in a different process asked
|
| // to finish the test.
|
| @@ -40,6 +65,9 @@
|
| std::vector<unsigned> /* current_entry_indexes */)
|
|
|
| IPC_MESSAGE_ROUTED0(ShellViewMsg_TryLeakDetection)
|
| +
|
| +// Asks a frame to dump its contents into a string and send them back over IPC.
|
| +IPC_MESSAGE_ROUTED0(ShellViewMsg_LayoutDumpRequest)
|
|
|
| // Notifies BlinkTestRunner that the layout dump has completed
|
| // (and that it can proceed with finishing up the test).
|
|
|