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 #include "content/shell/renderer/test_runner/web_content_settings.h" | 5 #include "components/test_runner/web_content_settings.h" |
6 | 6 |
7 #include "content/shell/renderer/test_runner/test_common.h" | 7 #include "components/test_runner/test_common.h" |
8 #include "content/shell/renderer/test_runner/web_test_delegate.h" | 8 #include "components/test_runner/web_test_delegate.h" |
9 #include "third_party/WebKit/public/platform/WebCString.h" | 9 #include "third_party/WebKit/public/platform/WebCString.h" |
10 #include "third_party/WebKit/public/platform/WebURL.h" | 10 #include "third_party/WebKit/public/platform/WebURL.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 WebContentSettings::WebContentSettings() : delegate_(0) { | 14 WebContentSettings::WebContentSettings() : delegate_(0) { |
15 Reset(); | 15 Reset(); |
16 } | 16 } |
17 | 17 |
18 WebContentSettings::~WebContentSettings() {} | 18 WebContentSettings::~WebContentSettings() {} |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 images_allowed_ = true; | 112 images_allowed_ = true; |
113 media_allowed_ = true; | 113 media_allowed_ = true; |
114 scripts_allowed_ = true; | 114 scripts_allowed_ = true; |
115 storage_allowed_ = true; | 115 storage_allowed_ = true; |
116 plugins_allowed_ = true; | 116 plugins_allowed_ = true; |
117 displaying_insecure_content_allowed_ = false; | 117 displaying_insecure_content_allowed_ = false; |
118 running_insecure_content_allowed_ = false; | 118 running_insecure_content_allowed_ = false; |
119 } | 119 } |
120 | 120 |
121 } // namespace content | 121 } // namespace content |
OLD | NEW |