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 34a1c07e2fd6d017ecd1a82d70e7e41a31fafe77..dbed71ba1b1f9e86deaea4f69c2cfa39344bfc3f 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -379,6 +379,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. |