Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(957)

Side by Side Diff: content/shell/common/shell_messages.h

Issue 2955123002: Mojo-ify ShellViewHostMsg_LayoutDumpResponse. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Send a text dump of the WebContents to the render host. 49 // Send a text dump of the WebContents to the render host.
50 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, 50 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
51 std::string /* dump */) 51 std::string /* dump */)
52 52
53 // Asks the browser process to perform a layout dump spanning all the 53 // Asks the browser process to perform a layout dump spanning all the
54 // (potentially cross-process) frames. This triggers multiple 54 // (potentially cross-process) frames. This triggers multiple
55 // ShellViewMsg_LayoutDumpRequest / ShellViewHostMsg_LayoutDumpResponse messages 55 // ShellViewMsg_LayoutDumpRequest / ShellViewHostMsg_LayoutDumpResponse messages
alexmos 2017/06/27 21:35:48 nit: update this comment.
Łukasz Anforowicz 2017/06/27 22:17:41 Done.
56 // and ends with sending of ShellViewMsg_LayoutDumpCompleted. 56 // and ends with sending of ShellViewMsg_LayoutDumpCompleted.
57 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiateLayoutDump) 57 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiateLayoutDump)
58 58
59 // Sends a layout dump of a frame (response to ShellViewMsg_LayoutDumpRequest).
60 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_LayoutDumpResponse, std::string /* dump */)
61
62 // Send an image dump of the WebContents to the render host. 59 // Send an image dump of the WebContents to the render host.
63 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump, 60 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump,
64 std::string /* actual pixel hash */, 61 std::string /* actual pixel hash */,
65 SkBitmap /* image */) 62 SkBitmap /* image */)
66 63
67 // Send an audio dump to the render host. 64 // Send an audio dump to the render host.
68 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, 65 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump,
69 std::vector<unsigned char> /* audio data */) 66 std::vector<unsigned char> /* audio data */)
70 67
71 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished) 68 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished)
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, 104 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser,
108 bool /* enable */) 105 bool /* enable */)
109 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) 106 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents)
110 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, 107 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents,
111 std::vector<std::string> /* events */) 108 std::vector<std::string> /* events */)
112 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, 109 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent,
113 std::string /* event */, 110 std::string /* event */,
114 std::string /* argument */) 111 std::string /* argument */)
115 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetPopupBlockingEnabled, 112 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetPopupBlockingEnabled,
116 bool /* block_popups */) 113 bool /* block_popups */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698