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

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

Issue 601513002: Add test runner support for overriding web_security_enabled preference. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 "content/shell/common/test_runner/test_preferences.h" 5 #include "content/shell/common/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;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #if defined(OS_MACOSX) 42 #if defined(OS_MACOSX)
43 editing_behavior = WebSettings::EditingBehaviorMac; 43 editing_behavior = WebSettings::EditingBehaviorMac;
44 #else 44 #else
45 editing_behavior = WebSettings::EditingBehaviorWin; 45 editing_behavior = WebSettings::EditingBehaviorWin;
46 #endif 46 #endif
47 47
48 tabs_to_links = false; 48 tabs_to_links = false;
49 hyperlink_auditing_enabled = false; 49 hyperlink_auditing_enabled = false;
50 should_respect_image_orientation = false; 50 should_respect_image_orientation = false;
51 asynchronous_spell_checking_enabled = false; 51 asynchronous_spell_checking_enabled = false;
52 web_security_enabled = true;
52 } 53 }
53 54
54 } // namespace content 55 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/common/test_runner/test_preferences.h ('k') | content/shell/common/webkit_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698