Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / content / shell / renderer / test_runner / TestRunner.h
index 2348ca0..0bb162b 100644 (file)
@@ -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;
@@ -101,7 +103,7 @@ public:
     bool shouldDumpAsMarkup();
     bool shouldDumpChildFrameScrollPositions() const;
     bool shouldDumpChildFramesAsText() const;
-    void showDevTools();
+    void showDevTools(const std::string& settings);
     void clearDevToolsLocalStorage();
     void setShouldDumpAsText(bool);
     void setShouldDumpAsMarkup(bool);
@@ -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;
 };
 
 }