summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/mocks/mock_webframe.cc3
-rw-r--r--webkit/mocks/mock_webframe.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/webkit/mocks/mock_webframe.cc b/webkit/mocks/mock_webframe.cc
index 44cc690..773b5a1 100644
--- a/webkit/mocks/mock_webframe.cc
+++ b/webkit/mocks/mock_webframe.cc
@@ -303,6 +303,9 @@ bool MockWebFrame::selectWordAroundCaret() {
return false;
}
+void MockWebFrame::selectRange(const WebPoint& start, const WebPoint& end) {
+}
+
int MockWebFrame::printBegin(const WebSize& pageSize,
const WebNode& constrainToNode,
int printerDPI,
diff --git a/webkit/mocks/mock_webframe.h b/webkit/mocks/mock_webframe.h
index 41ee875..199451f 100644
--- a/webkit/mocks/mock_webframe.h
+++ b/webkit/mocks/mock_webframe.h
@@ -11,6 +11,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPerformance.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebRange.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
@@ -39,6 +40,7 @@ using WebKit::WebInputElement;
using WebKit::WebNode;
using WebKit::WebPasswordAutocompleteListener;
using WebKit::WebPerformance;
+using WebKit::WebPoint;
using WebKit::WebRange;
using WebKit::WebRect;
using WebKit::WebURLRequest;
@@ -173,6 +175,7 @@ class MockWebFrame : public WebKit::WebFrame {
virtual WebString selectionAsText() const;
virtual WebString selectionAsMarkup() const;
virtual bool selectWordAroundCaret();
+ virtual void selectRange(const WebPoint& start, const WebPoint& end);
virtual int printBegin(const WebSize& pageSize,
const WebNode& constrainToNode,
int printerDPI = 72,