diff options
Diffstat (limited to 'content/shell/renderer/test_runner/TestRunner.h')
-rw-r--r-- | content/shell/renderer/test_runner/TestRunner.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/shell/renderer/test_runner/TestRunner.h b/content/shell/renderer/test_runner/TestRunner.h index 2348ca0..f511f7d 100644 --- a/content/shell/renderer/test_runner/TestRunner.h +++ b/content/shell/renderer/test_runner/TestRunner.h @@ -84,6 +84,8 @@ public: void setTestIsRunning(bool); bool testIsRunning() const { return m_testIsRunning; } + bool useMockTheme() const { return m_useMockTheme; } + // WebTestRunner implementation. virtual bool shouldGeneratePixelResults() OVERRIDE; virtual bool shouldDumpAsAudio() const OVERRIDE; @@ -432,6 +434,9 @@ private: // changes. It takes no arguments, and ignores any that may be present. void dumpResourceRequestPriorities(const CppArgumentList&, CppVariant*); + // Sets a flag to enable the mock theme. + void setUseMockTheme(const CppArgumentList&, CppVariant*); + /////////////////////////////////////////////////////////////////////////// // Methods interacting with the WebTestProxy @@ -720,6 +725,7 @@ private: PointerLockWillRespondAsync, PointerLockWillFailSync, } m_pointerLockPlannedResult; + bool m_useMockTheme; }; } |