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

Side by Side Diff: components/test_runner/layout_dump_flags.cc

Issue 1715573002: Replicating LayoutDumpFlags across OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicating-pixel-dump-flag
Patch Set: Rebasing... Created 4 years, 9 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_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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698