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

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

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed a comma - fix android_webview Created 6 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_ 5 #ifndef CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_
6 #define CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_ 6 #define CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 struct WebPreferences;
12
13 namespace base { 11 namespace base {
14 class FilePath; 12 class FilePath;
15 } 13 }
16 14
17 struct WebPreferences;
18
19 namespace content { 15 namespace content {
20 16
21 struct TestPreferences; 17 struct TestPreferences;
18 struct WebPreferences;
22 19
23 // The TestRunner library keeps its settings in a WebPreferenes object. 20 // The TestRunner library keeps its settings in a WebPreferenes object.
24 // The content_shell, however, uses WebPreferences. This method exports the 21 // The content_shell, however, uses WebPreferences. This method exports the
25 // settings from the WebTestRunner library which are relevant for layout tests. 22 // settings from the WebTestRunner library which are relevant for layout tests.
26 void ExportLayoutTestSpecificPreferences(const TestPreferences& from, 23 void ExportLayoutTestSpecificPreferences(const TestPreferences& from,
27 WebPreferences* to); 24 WebPreferences* to);
28 25
29 // Applies settings that differ between layout tests and regular mode. 26 // Applies settings that differ between layout tests and regular mode.
30 void ApplyLayoutTestDefaultPreferences(WebPreferences* prefs); 27 void ApplyLayoutTestDefaultPreferences(WebPreferences* prefs);
31 28
32 // Returns the root of the Blink checkout. 29 // Returns the root of the Blink checkout.
33 base::FilePath GetWebKitRootDirFilePath(); 30 base::FilePath GetWebKitRootDirFilePath();
34 31
35 // Returns list of extra font files to be made accessible to the renderer. 32 // Returns list of extra font files to be made accessible to the renderer.
36 std::vector<std::string> GetSideloadFontFiles(); 33 std::vector<std::string> GetSideloadFontFiles();
37 34
38 } // namespace content 35 } // namespace content
39 36
40 #endif // CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_ 37 #endif // CONTENT_SHELL_COMMON_WEBKIT_TEST_HELPERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698