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

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

Issue 1878863002: Replicate LayoutTestRuntimeFlags across secondary window renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicate-web-content-settings
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
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 25 matching lines...) Expand all
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. This message 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 // is sent only to a renderer that hosts parts of the main test window.
41 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, 41 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration,
42 content::ShellTestConfiguration) 42 content::ShellTestConfiguration)
43 43
44 // 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. 45 // that hosts parts of the main test window.
46 IPC_MESSAGE_ROUTED2( 46 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplicateTestConfiguration,
47 ShellViewMsg_ReplicateTestConfiguration, 47 content::ShellTestConfiguration)
48 content::ShellTestConfiguration,
49 base::DictionaryValue /* accumulated_layout_test_runtime_flags_changes */)
50 48
51 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the 49 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the
52 // main test window) for a layout test. 50 // main test window) for a layout test.
53 IPC_MESSAGE_ROUTED0(ShellViewMsg_SetupSecondaryRenderer) 51 IPC_MESSAGE_ROUTED0(ShellViewMsg_SetupSecondaryRenderer)
54 52
55 // Used to broadcast changes happening in one renderer to all other renderers.
56 IPC_MESSAGE_ROUTED1(
57 ShellViewMsg_ReplicateLayoutTestRuntimeFlagsChanges,
58 base::DictionaryValue /* changed_layout_test_runtime_flags */)
59
60 // Tells the main window that a secondary renderer in a different process thinks 53 // Tells the main window that a secondary renderer in a different process thinks
61 // the test is finished. 54 // the test is finished.
62 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) 55 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone)
63 56
64 // Pushes a snapshot of the current session history from the browser process. 57 // Pushes a snapshot of the current session history from the browser process.
65 // This includes only information about those RenderViews that are in the 58 // This includes only information about those RenderViews that are in the
66 // same process as the main window of the layout test and that are the current 59 // same process as the main window of the layout test and that are the current
67 // active RenderView of their WebContents. 60 // active RenderView of their WebContents.
68 IPC_MESSAGE_ROUTED3( 61 IPC_MESSAGE_ROUTED3(
69 ShellViewMsg_SessionHistory, 62 ShellViewMsg_SessionHistory,
70 std::vector<int> /* routing_ids */, 63 std::vector<int> /* routing_ids */,
71 std::vector<std::vector<content::PageState> > /* session_histories */, 64 std::vector<std::vector<content::PageState> > /* session_histories */,
72 std::vector<unsigned> /* current_entry_indexes */) 65 std::vector<unsigned> /* current_entry_indexes */)
73 66
74 IPC_MESSAGE_ROUTED0(ShellViewMsg_TryLeakDetection) 67 IPC_MESSAGE_ROUTED0(ShellViewMsg_TryLeakDetection)
75 68
76 // Asks a frame to dump its contents into a string and send them back over IPC. 69 // Asks a frame to dump its contents into a string and send them back over IPC.
77 IPC_MESSAGE_ROUTED0(ShellViewMsg_LayoutDumpRequest) 70 IPC_MESSAGE_ROUTED0(ShellViewMsg_LayoutDumpRequest)
78 71
79 // Notifies BlinkTestRunner that the layout dump has completed 72 // Notifies BlinkTestRunner that the layout dump has completed
80 // (and that it can proceed with finishing up the test). 73 // (and that it can proceed with finishing up the test).
81 IPC_MESSAGE_ROUTED1(ShellViewMsg_LayoutDumpCompleted, 74 IPC_MESSAGE_ROUTED1(ShellViewMsg_LayoutDumpCompleted,
82 std::string /* completed/stitched layout dump */) 75 std::string /* completed/stitched layout dump */)
83 76
84 // Notifies the browser that one of renderers has changed layout test runtime
85 // flags (i.e. has set dump_as_text).
86 IPC_MESSAGE_ROUTED1(
87 ShellViewHostMsg_LayoutTestRuntimeFlagsChanged,
88 base::DictionaryValue /* changed_layout_test_runtime_flags */)
89
90 // Send a text dump of the WebContents to the render host. 77 // Send a text dump of the WebContents to the render host.
91 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, 78 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
92 std::string /* dump */) 79 std::string /* dump */)
93 80
94 // Asks the browser process to perform a layout dump spanning all the 81 // Asks the browser process to perform a layout dump spanning all the
95 // (potentially cross-process) frames. This triggers multiple 82 // (potentially cross-process) frames. This triggers multiple
96 // ShellViewMsg_LayoutDumpRequest / ShellViewHostMsg_LayoutDumpResponse messages 83 // ShellViewMsg_LayoutDumpRequest / ShellViewHostMsg_LayoutDumpResponse messages
97 // and ends with sending of ShellViewMsg_LayoutDumpCompleted. 84 // and ends with sending of ShellViewMsg_LayoutDumpCompleted.
98 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiateLayoutDump) 85 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiateLayoutDump)
99 86
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 content::LeakDetectionResult /* result */) 133 content::LeakDetectionResult /* result */)
147 134
148 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, 135 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser,
149 bool /* enable */) 136 bool /* enable */)
150 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) 137 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents)
151 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, 138 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents,
152 std::vector<std::string> /* events */) 139 std::vector<std::string> /* events */)
153 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, 140 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent,
154 std::string /* event */, 141 std::string /* event */,
155 std::string /* argument */) 142 std::string /* argument */)
OLDNEW
« no previous file with comments | « content/shell/common/layout_test/layout_test_messages.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698