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

Side by Side Diff: components/test_runner/test_preferences.h

Issue 1169493003: Turn test runner library into an actual component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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
« no previous file with comments | « components/test_runner/test_common.h ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_
7 7
8 #include "components/test_runner/test_runner_export.h"
8 #include "third_party/WebKit/public/platform/WebString.h" 9 #include "third_party/WebKit/public/platform/WebString.h"
9 #include "third_party/WebKit/public/platform/WebURL.h" 10 #include "third_party/WebKit/public/platform/WebURL.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 11 #include "third_party/WebKit/public/web/WebSettings.h"
11 12
12 namespace blink { 13 namespace blink {
13 class WebView; 14 class WebView;
14 } 15 }
15 16
16 namespace test_runner { 17 namespace test_runner {
17 18
18 struct TestPreferences { 19 struct TEST_RUNNER_EXPORT TestPreferences {
19 int default_font_size; 20 int default_font_size;
20 int minimum_font_size; 21 int minimum_font_size;
21 bool dom_paste_allowed; 22 bool dom_paste_allowed;
22 bool xss_auditor_enabled; 23 bool xss_auditor_enabled;
23 bool allow_display_of_insecure_content; 24 bool allow_display_of_insecure_content;
24 bool allow_file_access_from_file_urls; 25 bool allow_file_access_from_file_urls;
25 bool allow_running_of_insecure_content; 26 bool allow_running_of_insecure_content;
26 bool author_and_user_styles_enabled; 27 bool author_and_user_styles_enabled;
27 blink::WebString default_text_encoding_name; 28 blink::WebString default_text_encoding_name;
28 bool experimental_webgl_enabled; 29 bool experimental_webgl_enabled;
(...skipping 19 matching lines...) Expand all
48 bool strict_mixed_content_checking; 49 bool strict_mixed_content_checking;
49 bool strict_powerful_feature_restrictions; 50 bool strict_powerful_feature_restrictions;
50 51
51 TestPreferences(); 52 TestPreferences();
52 void Reset(); 53 void Reset();
53 }; 54 };
54 55
55 } 56 }
56 57
57 #endif // COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ 58 #endif // COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_
OLDNEW
« no previous file with comments | « components/test_runner/test_common.h ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698