1 // Copyright (c) 2013 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.
5 #ifndef CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_
6 #define CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_
10 #include "base/files/file_path.h"
11 #include "ui/gfx/geometry/size.h"
16 struct ShellTestConfiguration
{
17 ShellTestConfiguration();
18 ~ShellTestConfiguration();
20 // The current working directory.
21 base::FilePath current_working_directory
;
23 // The temporary directory of the system.
24 base::FilePath temp_path
;
26 // The URL of the current layout test.
29 // True if pixel tests are enabled.
30 bool enable_pixel_dumping
;
32 // True if tests can open external URLs
33 bool allow_external_pages
;
35 // The expected MD5 hash of the pixel results.
36 std::string expected_pixel_hash
;
38 // The initial size of the test window.
39 gfx::Size initial_size
;
42 } // namespace content
44 #endif // CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_