Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 |
| 11 struct ShellTestConfiguration { | 11 struct ShellTestConfiguration { |
| 12 // The current working directory. | 12 // The current working directory. |
| 13 mojo.common.mojom.FilePath current_working_directory; | 13 mojo.common.mojom.FilePath current_working_directory; |
| 14 | 14 |
| 15 // The temporary directory of the system. | 15 // The temporary directory of the system. |
| 16 mojo.common.mojom.FilePath temp_path; | 16 mojo.common.mojom.FilePath temp_path; |
| 17 | 17 |
| 18 // The build directory. | |
| 19 mojo.common.mojom.FilePath build_directory; | |
| 20 | |
|
qyearsley
2017/03/20 17:40:00
In general, what does this file control? Is ShellT
yzshen1
2017/03/20 18:01:04
This is the layout test configuration information
| |
| 18 // The URL of the current layout test. | 21 // The URL of the current layout test. |
| 19 url.mojom.Url test_url; | 22 url.mojom.Url test_url; |
| 20 | 23 |
| 21 // True if pixel tests are enabled. | 24 // True if pixel tests are enabled. |
| 22 bool enable_pixel_dumping; | 25 bool enable_pixel_dumping; |
| 23 | 26 |
| 24 // True if tests can open external URLs | 27 // True if tests can open external URLs |
| 25 bool allow_external_pages; | 28 bool allow_external_pages; |
| 26 | 29 |
| 27 // The expected MD5 hash of the pixel results. | 30 // The expected MD5 hash of the pixel results. |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 41 ReplicateTestConfiguration(ShellTestConfiguration config); | 44 ReplicateTestConfiguration(ShellTestConfiguration config); |
| 42 | 45 |
| 43 // Sets the test config for a layout test that is being started. This message | 46 // 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. | 47 // is sent only to a renderer that hosts parts of the main test window. |
| 45 SetTestConfiguration(ShellTestConfiguration config); | 48 SetTestConfiguration(ShellTestConfiguration config); |
| 46 | 49 |
| 47 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the | 50 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the |
| 48 // main test window) for a layout test. | 51 // main test window) for a layout test. |
| 49 SetupSecondaryRenderer(); | 52 SetupSecondaryRenderer(); |
| 50 }; | 53 }; |
| OLD | NEW |