| OLD | NEW |
| 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 "components/test_runner/test_runner_export.h" |
| 9 #include "third_party/WebKit/public/platform/WebString.h" | 9 #include "third_party/WebKit/public/platform/WebString.h" |
| 10 #include "third_party/WebKit/public/platform/WebURL.h" | 10 #include "third_party/WebKit/public/platform/WebURL.h" |
| 11 #include "third_party/WebKit/public/web/WebSettings.h" | 11 #include "third_party/WebKit/public/web/WebSettings.h" |
| 12 | 12 |
| 13 namespace blink { | |
| 14 class WebView; | |
| 15 } | |
| 16 | |
| 17 namespace test_runner { | 13 namespace test_runner { |
| 18 | 14 |
| 19 struct TEST_RUNNER_EXPORT TestPreferences { | 15 struct TEST_RUNNER_EXPORT TestPreferences { |
| 20 int default_font_size; | 16 int default_font_size; |
| 21 int minimum_font_size; | 17 int minimum_font_size; |
| 22 bool xss_auditor_enabled; | 18 bool xss_auditor_enabled; |
| 23 bool allow_file_access_from_file_urls; | 19 bool allow_file_access_from_file_urls; |
| 24 bool allow_running_of_insecure_content; | 20 bool allow_running_of_insecure_content; |
| 25 blink::WebString default_text_encoding_name; | 21 blink::WebString default_text_encoding_name; |
| 26 bool experimental_webgl_enabled; | 22 bool experimental_webgl_enabled; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 44 bool strict_powerful_feature_restrictions; | 40 bool strict_powerful_feature_restrictions; |
| 45 bool spatial_navigation_enabled; | 41 bool spatial_navigation_enabled; |
| 46 | 42 |
| 47 TestPreferences(); | 43 TestPreferences(); |
| 48 void Reset(); | 44 void Reset(); |
| 49 }; | 45 }; |
| 50 | 46 |
| 51 } | 47 } |
| 52 | 48 |
| 53 #endif // COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ | 49 #endif // COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ |
| OLD | NEW |