summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.h')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.h b/webkit/tools/test_shell/layout_test_controller.h
index 1ddb879..8f5eedd 100644
--- a/webkit/tools/test_shell/layout_test_controller.h
+++ b/webkit/tools/test_shell/layout_test_controller.h
@@ -239,6 +239,9 @@ class LayoutTestController : public CppBoundClass {
bool ShouldAddFileToPasteboard() { return should_add_file_to_pasteboard_; }
bool StopProvisionalFrameLoads() { return stop_provisional_frame_loads_; }
+ bool test_repaint() const { return test_repaint_; }
+ bool sweep_horizontally() const { return sweep_horizontally_; }
+
// Called by the webview delegate when the toplevel frame load is done.
void LocationChangeDone();
@@ -354,6 +357,13 @@ class LayoutTestController : public CppBoundClass {
// setCloseRemainingWindowsWhenComplete().
static bool close_remaining_windows_;
+ // If true, pixel dump will be produced as a series of 1px-tall, view-wide
+ // individual paints over the height of the view.
+ static bool test_repaint_;
+ // If true and test_repaint_ is true as well, pixel dump will be produced as
+ // a series of 1px-wide, view-tall paints across the width of the view.
+ static bool sweep_horizontally_;
+
// If true and a drag starts, adds a file to the drag&drop clipboard.
static bool should_add_file_to_pasteboard_;