- add sources.
[platform/framework/web/crosswalk.git] / src / content / shell / common / shell_test_configuration.h
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.
4
5 #ifndef CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_
6 #define CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_
7
8 #include <string>
9
10 #include "base/files/file_path.h"
11 #include "ui/gfx/size.h"
12 #include "url/gurl.h"
13
14 namespace content {
15
16 struct ShellTestConfiguration {
17   ShellTestConfiguration();
18   ~ShellTestConfiguration();
19
20   // The current working directory.
21   base::FilePath current_working_directory;
22
23   // The temporary directory of the system.
24   base::FilePath temp_path;
25
26   // The URL of the current layout test.
27   GURL test_url;
28
29   // True if pixel tests are enabled.
30   bool enable_pixel_dumping;
31
32   // True if tests can open external URLs
33   bool allow_external_pages;
34
35   // The expected MD5 hash of the pixel results.
36   std::string expected_pixel_hash;
37
38   // The initial size of the test window.
39   gfx::Size initial_size;
40 };
41
42 }  // namespace content
43
44 #endif  // CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_