Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h

Issue 15179002: Remove code that is unused after ContextMenu cleanup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove canHandleRequest code from DRT Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h b/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
index e8f0c80bb47740c27f76c3034221e74c0e5486eb..882d4ea86ae1a73cbaff99d42332ee7f2574fdea 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
+++ b/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
@@ -185,7 +185,6 @@ protected:
void didRunInsecureContent(WebKit::WebFrame*, const WebKit::WebSecurityOrigin&, const WebKit::WebURL& insecureURL);
void didDetectXSS(WebKit::WebFrame*, const WebKit::WebURL& insecureURL, bool didBlockEntirePage);
void willRequestResource(WebKit::WebFrame*, const WebKit::WebCachedURLRequest&);
- bool canHandleRequest(WebKit::WebFrame*, const WebKit::WebURLRequest&);
WebKit::WebURLError cannotHandleRequestError(WebKit::WebFrame*, const WebKit::WebURLRequest&);
void didCreateDataSource(WebKit::WebFrame*, WebKit::WebDataSource*);
void willSendRequest(WebKit::WebFrame*, unsigned identifier, WebKit::WebURLRequest&, const WebKit::WebURLResponse& redirectResponse);
@@ -522,12 +521,6 @@ public:
WebTestProxyBase::willRequestResource(frame, request);
Base::willRequestResource(frame, request);
}
- virtual bool canHandleRequest(WebKit::WebFrame* frame, const WebKit::WebURLRequest& request)
- {
- if (!WebTestProxyBase::canHandleRequest(frame, request))
- return false;
- return Base::canHandleRequest(frame, request);
- }
virtual WebKit::WebURLError cannotHandleRequestError(WebKit::WebFrame* frame, const WebKit::WebURLRequest& request)
{
return WebTestProxyBase::cannotHandleRequestError(frame, request);
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698