diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 09:55:50 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 09:55:50 +0000 |
commit | 6e59df9e739fef26df4ef08a9e387b8e94cdf7fe (patch) | |
tree | ac6f229deb158cb5580404e47c944b5ba3181d5f /webkit/mocks | |
parent | 7b44fe07c3f727d65343fa99dafcd6cd559ed0b4 (diff) | |
download | chromium_src-6e59df9e739fef26df4ef08a9e387b8e94cdf7fe.zip chromium_src-6e59df9e739fef26df4ef08a9e387b8e94cdf7fe.tar.gz chromium_src-6e59df9e739fef26df4ef08a9e387b8e94cdf7fe.tar.bz2 |
Add createFileSystem method in MockWebFrame.
This method was added by http://trac.webkit.org/changeset/80333
BUG=none
TEST=none
TBR=zelidrag,tonyg
Review URL: http://codereview.chromium.org/6627006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/mocks')
-rw-r--r-- | webkit/mocks/mock_webframe.cc | 5 | ||||
-rw-r--r-- | webkit/mocks/mock_webframe.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/webkit/mocks/mock_webframe.cc b/webkit/mocks/mock_webframe.cc index 63f996c..a230cc0 100644 --- a/webkit/mocks/mock_webframe.cc +++ b/webkit/mocks/mock_webframe.cc @@ -158,6 +158,11 @@ v8::Handle<v8::Value> MockWebFrame::executeScriptAndReturnValue( v8::Local<v8::Context> MockWebFrame::mainWorldScriptContext() const { return v8::Local<v8::Context>(); } + +v8::Handle<v8::Value> MockWebFrame::createFileSystem( + int type, const WebString& name, const WebString& path) { + return v8::Handle<v8::Value>(); +} #endif diff --git a/webkit/mocks/mock_webframe.h b/webkit/mocks/mock_webframe.h index 1ab2bfb..830b0d6 100644 --- a/webkit/mocks/mock_webframe.h +++ b/webkit/mocks/mock_webframe.h @@ -107,6 +107,8 @@ class MockWebFrame : public WebKit::WebFrame { virtual v8::Handle<v8::Value> executeScriptAndReturnValue( const WebScriptSource&); virtual v8::Local<v8::Context> mainWorldScriptContext() const; + virtual v8::Handle<v8::Value> createFileSystem( + int type, const WebString& name, const WebString& path); #endif virtual bool insertStyleText(const WebString& styleText, const WebString& elementId); |