summaryrefslogtreecommitdiffstats
path: root/webkit/mocks
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/mocks')
-rw-r--r--webkit/mocks/mock_webframe.cc8
-rw-r--r--webkit/mocks/mock_webframe.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/webkit/mocks/mock_webframe.cc b/webkit/mocks/mock_webframe.cc
index a230cc0..25b236c 100644
--- a/webkit/mocks/mock_webframe.cc
+++ b/webkit/mocks/mock_webframe.cc
@@ -363,6 +363,10 @@ WebString MockWebFrame::contentAsMarkup() const {
return WebString();
}
+WebString MockWebFrame::renderTreeAsText(bool showDebugInfo) const {
+ return WebString();
+}
+
WebString MockWebFrame::renderTreeAsText() const {
return WebString();
}
@@ -396,6 +400,10 @@ bool MockWebFrame::pauseSVGAnimation(const WebString& animationId,
return false;
}
+WebString MockWebFrame::layerTreeAsText(bool showDebugInfo) const {
+ return WebString();
+}
+
WebString MockWebFrame::layerTreeAsText() const {
return WebString();
}
diff --git a/webkit/mocks/mock_webframe.h b/webkit/mocks/mock_webframe.h
index 830b0d6..581c551 100644
--- a/webkit/mocks/mock_webframe.h
+++ b/webkit/mocks/mock_webframe.h
@@ -196,6 +196,7 @@ class MockWebFrame : public WebKit::WebFrame {
const WebInputElement&);
virtual WebString contentAsText(size_t maxChars) const;
virtual WebString contentAsMarkup() const;
+ virtual WebString renderTreeAsText(bool showDebugInfo) const;
virtual WebString renderTreeAsText() const;
virtual WebString counterValueForElementById(const WebString& id) const;
virtual WebString markerTextForListItem(const WebElement&) const;
@@ -207,6 +208,7 @@ class MockWebFrame : public WebKit::WebFrame {
virtual bool pauseSVGAnimation(const WebString& animationId,
double time,
const WebString& elementId);
+ virtual WebString layerTreeAsText(bool showDebugInfo) const;
virtual WebString layerTreeAsText() const;
private: