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

Side by Side Diff: content/shell/common/layout_test.mojom

Issue 2670573002: Revert of Replace IPC messages in layout_test_render_frame_observer. (Closed)
Patch Set: Created 3 years, 10 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/common/OWNERS ('k') | content/shell/common/shell_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module content.mojom;
6
7 import "mojo/common/file_path.mojom";
8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 import "url/mojo/url.mojom";
10
11 struct ShellTestConfiguration {
12 // The current working directory.
13 mojo.common.mojom.FilePath current_working_directory;
14
15 // The temporary directory of the system.
16 mojo.common.mojom.FilePath temp_path;
17
18 // The URL of the current layout test.
19 url.mojom.Url test_url;
20
21 // True if pixel tests are enabled.
22 bool enable_pixel_dumping;
23
24 // True if tests can open external URLs
25 bool allow_external_pages;
26
27 // The expected MD5 hash of the pixel results.
28 string expected_pixel_hash;
29
30 // The initial size of the test window.
31 gfx.mojom.Size initial_size;
32 };
33
34 interface LayoutTestControl {
35 // Asks a frame to dump its contents into a string and send them back over
36 // IPC.
37 LayoutDumpRequest();
38
39 // Replicates test config (for an already started test) to a new renderer
40 // that hosts parts of the main test window.
41 ReplicateTestConfiguration(ShellTestConfiguration config);
42
43 // Sets the test config for a layout test that is being started. This message
44 // is sent only to a renderer that hosts parts of the main test window.
45 SetTestConfiguration(ShellTestConfiguration config);
46
47 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the
48 // main test window) for a layout test.
49 SetupSecondaryRenderer();
50 };
OLDNEW
« no previous file with comments | « content/shell/common/OWNERS ('k') | content/shell/common/shell_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698