| Index: webkit/tools/test_shell/test_webview_delegate.h
|
| diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
|
| index c63cb9f112153243a2ad904ff704c059b887012f..3c7f38d419a28374b5aa4386c85c3445eb7812a9 100644
|
| --- a/webkit/tools/test_shell/test_webview_delegate.h
|
| +++ b/webkit/tools/test_shell/test_webview_delegate.h
|
| @@ -325,6 +325,16 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
|
|
|
| void SetGeolocationPermission(bool allowed);
|
|
|
| + void ClearContextMenuData();
|
| +
|
| + const WebKit::WebContextMenuData* last_context_menu_data() const {
|
| + return last_context_menu_data_.get();
|
| + }
|
| +
|
| + MockSpellCheck* mock_spellcheck() {
|
| + return &mock_spellcheck_;
|
| + }
|
| +
|
| private:
|
|
|
| // Called the title of the page changes.
|
| @@ -402,6 +412,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
|
| std::string GetResourceDescription(uint32 identifier);
|
|
|
| CapturedContextMenuEvents captured_context_menu_events_;
|
| + scoped_ptr<WebKit::WebContextMenuData> last_context_menu_data_;
|
|
|
| WebCursor current_cursor_;
|
|
|
|
|