OLD | NEW |
(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_dump_flags.h" |
| 6 |
| 7 namespace test_runner { |
| 8 |
| 9 LayoutDumpFlags::LayoutDumpFlags() { |
| 10 Reset(); |
| 11 } |
| 12 |
| 13 void LayoutDumpFlags::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_wait_until_done(false); |
| 27 |
| 28 // No need to report the initial state - only the future delta is important. |
| 29 tracked_dictionary().ResetChangeTracking(); |
| 30 } |
| 31 |
| 32 } // namespace test_runner |
OLD | NEW |