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

Side by Side Diff: components/test_runner/layout_test_runtime_flags.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/test_runner/layout_test_runtime_flags.h"
6
7 namespace test_runner {
8
9 LayoutTestRuntimeFlags::LayoutTestRuntimeFlags() {
10 Reset();
11 }
12
13 void LayoutTestRuntimeFlags::Reset() {
14 set_generate_pixel_results(true);
15
16 set_dump_as_text(false);
17 set_dump_child_frames_as_text(false);
18
19 set_dump_as_markup(false);
20 set_dump_child_frames_as_markup(false);
21
22 set_dump_child_frame_scroll_positions(false);
23
24 set_is_printing(false);
25
26 set_policy_delegate_enabled(false);
27 set_policy_delegate_is_permissive(false);
28 set_policy_delegate_should_notify_done(false);
29 set_wait_until_done(false);
30 set_wait_until_external_url_load(false);
31
32 set_dump_selection_rect(false);
33 set_dump_drag_image(false);
34
35 set_accept_languages("");
36
37 set_dump_web_content_settings_client_callbacks(false);
38 set_images_allowed(true);
39 set_scripts_allowed(true);
40 set_storage_allowed(true);
41 set_plugins_allowed(true);
42 set_running_insecure_content_allowed(false);
43 set_autoplay_allowed(true);
44
45 set_dump_editting_callbacks(false);
46 set_dump_frame_load_callbacks(false);
47 set_dump_ping_loader_callbacks(false);
48 set_dump_user_gesture_in_frame_load_callbacks(false);
49 set_dump_resource_load_callbacks(false);
50 set_dump_resource_response_mime_types(false);
51 set_dump_navigation_policy(false);
52
53 set_dump_title_changes(false);
54 set_dump_icon_changes(false);
55 set_dump_console_messages(true);
56
57 set_stay_on_page_after_handling_before_unload(false);
58
59 set_have_top_loading_frame(false);
60
61 set_can_open_windows(false);
62
63 set_dump_create_view(false);
64 set_dump_window_status_changes(false);
65 set_dump_spell_check_callbacks(false);
66 set_dump_javascript_dialogs(true);
67
68 set_has_custom_text_output(false);
69 set_custom_text_output("");
70
71 // No need to report the initial state - only the future delta is important.
72 tracked_dictionary().ResetChangeTracking();
73 }
74
75 } // namespace test_runner
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698