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

Side by Side Diff: content/shell/test_runner/test_preferences.cc

Issue 2707183003: Move //components/test_runner back into //content/shell (Closed)
Patch Set: Trim DEPS Created 3 years, 10 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
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 #include "components/test_runner/test_preferences.h" 5 #include "content/shell/test_runner/test_preferences.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 using blink::WebSettings; 9 using blink::WebSettings;
10 using blink::WebString; 10 using blink::WebString;
11 11
12 namespace test_runner { 12 namespace test_runner {
13 13
14 TestPreferences::TestPreferences() { Reset(); } 14 TestPreferences::TestPreferences() {
15 Reset();
16 }
15 17
16 void TestPreferences::Reset() { 18 void TestPreferences::Reset() {
17 default_font_size = 16; 19 default_font_size = 16;
18 minimum_font_size = 0; 20 minimum_font_size = 0;
19 xss_auditor_enabled = false; 21 xss_auditor_enabled = false;
20 allow_file_access_from_file_urls = true; 22 allow_file_access_from_file_urls = true;
21 allow_running_of_insecure_content = true; 23 allow_running_of_insecure_content = true;
22 default_text_encoding_name = WebString::fromUTF8("ISO-8859-1"); 24 default_text_encoding_name = WebString::fromUTF8("ISO-8859-1");
23 experimental_webgl_enabled = false; 25 experimental_webgl_enabled = false;
24 experimental_css_grid_layout_enabled = true; 26 experimental_css_grid_layout_enabled = true;
(...skipping 20 matching lines...) Expand all
45 should_respect_image_orientation = false; 47 should_respect_image_orientation = false;
46 asynchronous_spell_checking_enabled = false; 48 asynchronous_spell_checking_enabled = false;
47 web_security_enabled = true; 49 web_security_enabled = true;
48 disable_reading_from_canvas = false; 50 disable_reading_from_canvas = false;
49 strict_mixed_content_checking = false; 51 strict_mixed_content_checking = false;
50 strict_powerful_feature_restrictions = false; 52 strict_powerful_feature_restrictions = false;
51 spatial_navigation_enabled = false; 53 spatial_navigation_enabled = false;
52 } 54 }
53 55
54 } // namespace test_runner 56 } // namespace test_runner
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698