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

Side by Side Diff: content/shell/webkit_test_helpers.h

Issue 14767019: [content shell] move code common to several processes to a common dir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/webkit_test_controller.cc ('k') | content/shell/webkit_test_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_SHELL_WEBKIT_TEST_HELPERS_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_HELPERS_H_
7
8 struct WebPreferences;
9
10 namespace WebTestRunner {
11 struct WebPreferences;
12 }
13
14 namespace base {
15 class FilePath;
16 }
17
18 struct WebPreferences;
19
20 namespace content {
21
22 // The TestRunner library keeps its settings in a WebTestRunner::WebPreferenes
23 // object. The content_shell, however, uses WebPreferences. This
24 // method exports the settings from the WebTestRunner library which are relevant
25 // for layout tests.
26 void ExportLayoutTestSpecificPreferences(
27 const WebTestRunner::WebPreferences& from, WebPreferences* to);
28
29 // Applies settings that differ between layout tests and regular mode.
30 void ApplyLayoutTestDefaultPreferences(WebPreferences* prefs);
31
32 // Returns the root of the Blink checkout.
33 base::FilePath GetWebKitRootDirFilePath();
34
35 // Returns the root of the chromium checkout.
36 base::FilePath GetChromiumRootDirFilePath();
37
38 } // namespace content
39
40 #endif // CONTENT_SHELL_WEBKIT_TEST_HELPERS_H_
OLDNEW
« no previous file with comments | « content/shell/webkit_test_controller.cc ('k') | content/shell/webkit_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698