OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 std::vector<std::vector<content::PageState> > /* session_histories */, | 39 std::vector<std::vector<content::PageState> > /* session_histories */, |
40 std::vector<unsigned> /* current_entry_indexes */) | 40 std::vector<unsigned> /* current_entry_indexes */) |
41 | 41 |
42 IPC_MESSAGE_ROUTED0(ShellViewMsg_TryLeakDetection) | 42 IPC_MESSAGE_ROUTED0(ShellViewMsg_TryLeakDetection) |
43 | 43 |
44 // Notifies BlinkTestRunner that the layout dump has completed | 44 // Notifies BlinkTestRunner that the layout dump has completed |
45 // (and that it can proceed with finishing up the test). | 45 // (and that it can proceed with finishing up the test). |
46 IPC_MESSAGE_ROUTED1(ShellViewMsg_LayoutDumpCompleted, | 46 IPC_MESSAGE_ROUTED1(ShellViewMsg_LayoutDumpCompleted, |
47 std::string /* completed/stitched layout dump */) | 47 std::string /* completed/stitched layout dump */) |
48 | 48 |
| 49 // Notifies BlinkTestRunner that the pixel dump has completed |
| 50 // (and that it can proceed with finishing up the test). |
| 51 IPC_MESSAGE_ROUTED1(ShellViewMsg_PixelsDumpResult, |
| 52 SkBitmap /* completed/stitched pixel dump */) |
| 53 |
49 // Send a text dump of the WebContents to the render host. | 54 // Send a text dump of the WebContents to the render host. |
50 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, | 55 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, |
51 std::string /* dump */) | 56 std::string /* dump */) |
52 | 57 |
53 // Asks the browser process to perform a layout dump spanning all the | 58 // Asks the browser process to perform a layout dump spanning all the |
54 // (potentially cross-process) frames. This goes through multiple | 59 // (potentially cross-process) frames. This goes through multiple |
55 // LayoutTestControl.DumpFrameLayout calls and ends with sending of | 60 // LayoutTestControl.DumpFrameLayout calls and ends with sending of |
56 // ShellViewMsg_LayoutDumpCompleted. | 61 // ShellViewMsg_LayoutDumpCompleted. |
57 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiateLayoutDump) | 62 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiateLayoutDump) |
58 | 63 |
| 64 // Asks the browser process to perform a pixel dump spanning all the |
| 65 // (potentially cross-process) frames. This goes through multiple |
| 66 // LayoutTestControl.SnapshotFrameImag calls and ends with sending of |
| 67 // ShellViewMsg_PixelsDumpCompleted. |
| 68 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiatePixelsDump) |
| 69 |
59 // Send an image dump of the WebContents to the render host. | 70 // Send an image dump of the WebContents to the render host. |
60 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump, | 71 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump, |
61 std::string /* actual pixel hash */, | 72 std::string /* actual pixel hash */, |
62 SkBitmap /* image */) | 73 SkBitmap /* image */) |
63 | 74 |
64 // Send an audio dump to the render host. | 75 // Send an audio dump to the render host. |
65 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, | 76 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, |
66 std::vector<unsigned char> /* audio data */) | 77 std::vector<unsigned char> /* audio data */) |
67 | 78 |
68 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished) | 79 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished) |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, | 115 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, |
105 bool /* enable */) | 116 bool /* enable */) |
106 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) | 117 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) |
107 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, | 118 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, |
108 std::vector<std::string> /* events */) | 119 std::vector<std::string> /* events */) |
109 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, | 120 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, |
110 std::string /* event */, | 121 std::string /* event */, |
111 std::string /* argument */) | 122 std::string /* argument */) |
112 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetPopupBlockingEnabled, | 123 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetPopupBlockingEnabled, |
113 bool /* block_popups */) | 124 bool /* block_popups */) |
OLD | NEW |