summaryrefslogtreecommitdiffstats
path: root/webkit/mocks
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 19:57:07 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 19:57:07 +0000
commitc223bd6a8115abb5069ba46651e62d44e67fad8f (patch)
tree3c21bdca726d82df6199f5b761c0b455fc6e5b5c /webkit/mocks
parent636b825e9554d88818f62d3d280944f49a726960 (diff)
downloadchromium_src-c223bd6a8115abb5069ba46651e62d44e67fad8f.zip
chromium_src-c223bd6a8115abb5069ba46651e62d44e67fad8f.tar.gz
chromium_src-c223bd6a8115abb5069ba46651e62d44e67fad8f.tar.bz2
Build fix: provide dummy implementation of abstract method.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6813051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80973 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/mocks')
-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,