2010-07-13 Maciej Stachowiak <mjs@apple.com>
[WebKit.git] / WebKitTools / WebKitTestRunner / InjectedBundle / LayoutTestController.h
index 203f35857955d63180ee568bec7b3db676f8dc5f..f07cc00448876caa411625581d0f86c29e53611b 100644 (file)
@@ -49,15 +49,22 @@ public:
     void waitToDumpWatchdogTimerFired();
     void invalidateWaitToDumpWatchdog();
     void notifyDone();
+    void display();
 
     unsigned numberOfActiveAnimations() const;
     bool pauseAnimationAtTimeOnElementWithId(JSStringRef animationName, double time, JSStringRef elementId);
 
+    void setTestRepaint() { m_testRepaint = true; }
+    void setTestRepaintSweepHorizontally() { m_testRepaintSweepHorizontally = true; }
+
 private:
     LayoutTestController(const std::string& testPathOrURL);
 
     bool m_dumpAsText;
     bool m_waitToDump; // True if waitUntilDone() has been called, but notifyDone() has not yet been called.
+    bool m_testRepaint;
+    bool m_testRepaintSweepHorizontally;
+
 
     std::string m_testPathOrURL;