Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
|
jam
2015/06/02 18:02:59
Searching cs
https://code.google.com/p/chromium/co
jochen (gone - plz use gerrit)
2015/06/02 18:36:27
good point - IIRC we used to IPC that structure ar
| |
| 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_TEST_RUNNER_TEST_PREFERENCES_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_COMMON_TEST_PREFERENCES_H_ |
| 6 #define CONTENT_SHELL_COMMON_TEST_RUNNER_TEST_PREFERENCES_H_ | 6 #define COMPONENTS_TEST_RUNNER_COMMON_TEST_PREFERENCES_H_ |
| 7 | 7 |
| 8 #include "third_party/WebKit/public/platform/WebString.h" | 8 #include "third_party/WebKit/public/platform/WebString.h" |
| 9 #include "third_party/WebKit/public/platform/WebURL.h" | 9 #include "third_party/WebKit/public/platform/WebURL.h" |
| 10 #include "third_party/WebKit/public/web/WebSettings.h" | 10 #include "third_party/WebKit/public/web/WebSettings.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 class WebView; | 13 class WebView; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
|
jam
2015/06/02 18:02:59
are you planning on updating the namespace to test
jochen (gone - plz use gerrit)
2015/06/02 18:36:27
yes
(and add export macros)
| |
| 17 | 17 |
| 18 struct TestPreferences { | 18 struct TestPreferences { |
| 19 int default_font_size; | 19 int default_font_size; |
| 20 int minimum_font_size; | 20 int minimum_font_size; |
| 21 bool dom_paste_allowed; | 21 bool dom_paste_allowed; |
| 22 bool xss_auditor_enabled; | 22 bool xss_auditor_enabled; |
| 23 bool allow_display_of_insecure_content; | 23 bool allow_display_of_insecure_content; |
| 24 bool allow_file_access_from_file_urls; | 24 bool allow_file_access_from_file_urls; |
| 25 bool allow_running_of_insecure_content; | 25 bool allow_running_of_insecure_content; |
| 26 bool author_and_user_styles_enabled; | 26 bool author_and_user_styles_enabled; |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 47 bool disable_reading_from_canvas; | 47 bool disable_reading_from_canvas; |
| 48 bool strict_mixed_content_checking; | 48 bool strict_mixed_content_checking; |
| 49 bool strict_powerful_feature_restrictions; | 49 bool strict_powerful_feature_restrictions; |
| 50 | 50 |
| 51 TestPreferences(); | 51 TestPreferences(); |
| 52 void Reset(); | 52 void Reset(); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } | 55 } |
| 56 | 56 |
| 57 #endif // CONTENT_SHELL_COMMON_TEST_RUNNER_TEST_PREFERENCES_H_ | 57 #endif // COMPONENTS_TEST_RUNNER_COMMON_TEST_PREFERENCES_H_ |
| OLD | NEW |