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

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

Issue 1890223002: Explicitly initialize secondary renderers for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 8 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
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 IPC_STRUCT_TRAITS_MEMBER(initial_size) 29 IPC_STRUCT_TRAITS_MEMBER(initial_size)
30 IPC_STRUCT_TRAITS_END() 30 IPC_STRUCT_TRAITS_END()
31 31
32 // Tells the renderer to reset all test runners. 32 // Tells the renderer to reset all test runners.
33 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset) 33 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset)
34 34
35 // Sets the path to the WebKit checkout. 35 // Sets the path to the WebKit checkout.
36 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, 36 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir,
37 base::FilePath /* webkit source dir */) 37 base::FilePath /* webkit source dir */)
38 38
39 // Sets the test config for a layout test that is being started. 39 // Sets the test config for a layout test that is being started. This message
40 // is sent only to a renderer that hosts parts of the main test window.
40 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, 41 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration,
41 content::ShellTestConfiguration) 42 content::ShellTestConfiguration)
42 43
43 // Replicates test config (for an already started test) to a new renderer. 44 // Replicates test config (for an already started test) to a new renderer
45 // that hosts parts of the main test window.
44 IPC_MESSAGE_ROUTED2( 46 IPC_MESSAGE_ROUTED2(
45 ShellViewMsg_ReplicateTestConfiguration, 47 ShellViewMsg_ReplicateTestConfiguration,
46 content::ShellTestConfiguration, 48 content::ShellTestConfiguration,
47 base::DictionaryValue /* accumulated_layout_test_runtime_flags_changes */) 49 base::DictionaryValue /* accumulated_layout_test_runtime_flags_changes */)
48 50
51 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the
52 // main test window) for a layout test.
53 IPC_MESSAGE_ROUTED0(ShellViewMsg_SetupSecondaryRenderer)
54
49 // Used to broadcast changes happening in one renderer to all other renderers. 55 // Used to broadcast changes happening in one renderer to all other renderers.
50 IPC_MESSAGE_ROUTED1( 56 IPC_MESSAGE_ROUTED1(
51 ShellViewMsg_ReplicateLayoutTestRuntimeFlagsChanges, 57 ShellViewMsg_ReplicateLayoutTestRuntimeFlagsChanges,
52 base::DictionaryValue /* changed_layout_test_runtime_flags */) 58 base::DictionaryValue /* changed_layout_test_runtime_flags */)
53 59
54 // Tells the main window that a secondary renderer in a different process thinks 60 // Tells the main window that a secondary renderer in a different process thinks
55 // the test is finished. 61 // the test is finished.
56 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) 62 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone)
57 63
58 // Pushes a snapshot of the current session history from the browser process. 64 // Pushes a snapshot of the current session history from the browser process.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 content::LeakDetectionResult /* result */) 146 content::LeakDetectionResult /* result */)
141 147
142 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, 148 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser,
143 bool /* enable */) 149 bool /* enable */)
144 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) 150 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents)
145 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, 151 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents,
146 std::vector<std::string> /* events */) 152 std::vector<std::string> /* events */)
147 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, 153 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent,
148 std::string /* event */, 154 std::string /* event */,
149 std::string /* argument */) 155 std::string /* argument */)
OLDNEW
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698