Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index 52e4747ca5924fe34206ba64d882aef2fa12ee15..96133e23b1cfbbb21762ea85faf52839981ad2ca 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -383,6 +383,14 @@ class CONTENT_EXPORT WebContentsDelegate { |
const GURL& url, |
bool user_gesture) {} |
+ // Unregister the registered handler for URL requests with the given scheme. |
+ // |user_gesture| is true if the registration is made in the context of a user |
+ // gesture. |
+ virtual void UnregisterProtocolHandler(WebContents* web_contents, |
+ const std::string& protocol, |
+ const GURL& url, |
+ bool user_gesture) {} |
+ |
// Result of string search in the page. This includes the number of matches |
// found and the selection rect (in screen coordinates) for the string found. |
// If |final_update| is false, it indicates that more results follow. |