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

Unified Diff: webkit/api/public/WebFrameClient.h

Issue 271087: LTTF: Implement WebFrameLoaderClient::dispatchUnableToImplementPolicy() and so on (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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: webkit/api/public/WebFrameClient.h
===================================================================
--- webkit/api/public/WebFrameClient.h (revision 29248)
+++ webkit/api/public/WebFrameClient.h (working copy)
@@ -91,7 +91,17 @@
const WebNode& originatingNode,
WebNavigationPolicy defaultPolicy, bool isRedirect) = 0;
+ // Query if the specified request can be handled.
+ virtual bool canHandleRequest(const WebURLRequest& request) = 0;
+ // Called if canHandledRequest() returns false.
+ virtual WebURLError cannotShowURLError(
+ const WebURLRequest& request) = 0;
+
+ // Notify that a URL cannot be handled.
+ virtual void unableToImplementPolicyWithError(
+ WebFrame*, const WebURLError&) = 0;
+
// Navigational notifications ------------------------------------------
// A form submission is about to occur.

Powered by Google App Engine
This is Rietveld 408576698