1 // Copyright (c) 2012 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_WEBKIT_TEST_HELPERS_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_HELPERS_H_
8 namespace WebTestRunner
{
12 namespace webkit_glue
{
13 struct WebPreferences
;
18 // The TestRunner library keeps its settings in a WebTestRunner::WebPreferenes
19 // object. The content_shell, however, uses webkit_glue::WebPreferences. This
20 // method exports the settings from the WebTestRunner library which are relevant
22 void ExportLayoutTestSpecificPreferences(
23 const WebTestRunner::WebPreferences
& from
, webkit_glue::WebPreferences
* to
);
25 // Applies settings that differ between layout tests and regular mode.
26 void ApplyLayoutTestDefaultPreferences(webkit_glue::WebPreferences
* prefs
);
28 } // namespace content
30 #endif // CONTENT_SHELL_WEBKIT_TEST_HELPERS_H_