From c223bd6a8115abb5069ba46651e62d44e67fad8f Mon Sep 17 00:00:00 2001 From: "varunjain@chromium.org" Date: Fri, 8 Apr 2011 19:57:07 +0000 Subject: 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 --- webkit/mocks/mock_webframe.cc | 3 +++ webkit/mocks/mock_webframe.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'webkit/mocks') 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, -- cgit v1.1