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

Side by Side Diff: components/test_runner/layout_test_runtime_flags.h

Issue 2278303002: Remove the allow-displaying-mixed-content setting from Blink. (Closed)
Patch Set: Fixed missign deprecated preference registration. Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_LAYOUT_TEST_RUNTIME_FLAGS_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
6 #define COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 6 #define COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_drag_image) 102 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_drag_image)
103 103
104 // Contents of Accept-Language HTTP header requested by the test. 104 // Contents of Accept-Language HTTP header requested by the test.
105 DEFINE_STRING_LAYOUT_TEST_RUNTIME_FLAG(accept_languages) 105 DEFINE_STRING_LAYOUT_TEST_RUNTIME_FLAG(accept_languages)
106 106
107 // Flags influencing behavior of MockContentSettingsClient. 107 // Flags influencing behavior of MockContentSettingsClient.
108 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(images_allowed) 108 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(images_allowed)
109 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(scripts_allowed) 109 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(scripts_allowed)
110 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(storage_allowed) 110 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(storage_allowed)
111 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(plugins_allowed) 111 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(plugins_allowed)
112 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(displaying_insecure_content_allowed)
113 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(running_insecure_content_allowed) 112 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(running_insecure_content_allowed)
114 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( 113 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(
115 dump_web_content_settings_client_callbacks) 114 dump_web_content_settings_client_callbacks)
116 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(autoplay_allowed) 115 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(autoplay_allowed)
117 116
118 // If true, the test_shell will write a descriptive line for each editing 117 // If true, the test_shell will write a descriptive line for each editing
119 // command. 118 // command.
120 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_editting_callbacks) 119 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_editting_callbacks)
121 120
122 // If true, the test_shell will output a descriptive line for each frame 121 // If true, the test_shell will output a descriptive line for each frame
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 194
196 private: 195 private:
197 TrackedDictionary dict_; 196 TrackedDictionary dict_;
198 197
199 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); 198 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags);
200 }; 199 };
201 200
202 } // namespace test_runner 201 } // namespace test_runner
203 202
204 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 203 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | components/test_runner/layout_test_runtime_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698