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

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

Issue 2962073002: OOPIF support for layout test pixel dumps.
Patch Set: Rebasing on top of 8bc8e844008b (still works locally). 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 2017 The Chromium Authors. All rights reserved. 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 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 module content.mojom; 5 module content.mojom;
6 6
7 import "mojo/common/file_path.mojom"; 7 import "mojo/common/file_path.mojom";
8 import "ui/gfx/geometry/mojo/geometry.mojom"; 8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 import "url/mojo/url.mojom"; 9 import "url/mojo/url.mojom";
10 10
(...skipping 20 matching lines...) Expand all
31 string expected_pixel_hash; 31 string expected_pixel_hash;
32 32
33 // The initial size of the test window. 33 // The initial size of the test window.
34 gfx.mojom.Size initial_size; 34 gfx.mojom.Size initial_size;
35 }; 35 };
36 36
37 interface LayoutTestControl { 37 interface LayoutTestControl {
38 // Dumps the frame's contents into a string. 38 // Dumps the frame's contents into a string.
39 DumpFrameLayout() => (string frame_layout_dump); 39 DumpFrameLayout() => (string frame_layout_dump);
40 40
41 // Triggers compositing, so that pixels make their way to the browser process.
42 TriggerCompositing() => ();
43
41 // 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
42 // that hosts parts of the main test window. 45 // that hosts parts of the main test window.
43 ReplicateTestConfiguration(ShellTestConfiguration config); 46 ReplicateTestConfiguration(ShellTestConfiguration config);
44 47
45 // Sets the test config for a layout test that is being started. This message 48 // Sets the test config for a layout test that is being started. This message
46 // is sent only to a renderer that hosts parts of the main test window. 49 // is sent only to a renderer that hosts parts of the main test window.
47 SetTestConfiguration(ShellTestConfiguration config); 50 SetTestConfiguration(ShellTestConfiguration config);
48 51
49 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the 52 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the
50 // main test window) for a layout test. 53 // main test window) for a layout test.
51 SetupSecondaryRenderer(); 54 SetupSecondaryRenderer();
52 }; 55 };
OLDNEW
« no previous file with comments | « content/shell/browser/layout_test/blink_test_controller.cc ('k') | content/shell/common/shell_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698