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

Unified Diff: content/shell/common/shell_test_configuration.h

Issue 2670573002: Revert of Replace IPC messages in layout_test_render_frame_observer. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/common/shell_messages.h ('k') | content/shell/common/shell_test_configuration.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/common/shell_test_configuration.h
diff --git a/content/shell/common/shell_test_configuration.h b/content/shell/common/shell_test_configuration.h
new file mode 100644
index 0000000000000000000000000000000000000000..74b5d0b2127b8f92d0f2176647cea39d56170d58
--- /dev/null
+++ b/content/shell/common/shell_test_configuration.h
@@ -0,0 +1,44 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_
+#define CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_
+
+#include <string>
+
+#include "base/files/file_path.h"
+#include "ui/gfx/geometry/size.h"
+#include "url/gurl.h"
+
+namespace content {
+
+struct ShellTestConfiguration {
+ ShellTestConfiguration();
+ ~ShellTestConfiguration();
+
+ // The current working directory.
+ base::FilePath current_working_directory;
+
+ // The temporary directory of the system.
+ base::FilePath temp_path;
+
+ // The URL of the current layout test.
+ GURL test_url;
+
+ // True if pixel tests are enabled.
+ bool enable_pixel_dumping;
+
+ // True if tests can open external URLs
+ bool allow_external_pages;
+
+ // The expected MD5 hash of the pixel results.
+ std::string expected_pixel_hash;
+
+ // The initial size of the test window.
+ gfx::Size initial_size;
+};
+
+} // namespace content
+
+#endif // CONTENT_SHELL_COMMON_SHELL_TEST_CONFIGURATION_H_
« no previous file with comments | « content/shell/common/shell_messages.h ('k') | content/shell/common/shell_test_configuration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698