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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 294023010: Implement unregisterProtocolHandler() for content layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP Created 6 years, 6 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: 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..89b529386b98e52d570c1b2dd1ef6a69921a912f 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 a new handler for URL requests with the given scheme.
jochen (gone - plz use gerrit) 2014/07/09 09:12:56 "new"?
gyuyoung-inactive 2014/07/09 09:32:16 Fixed.
+ // |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.

Powered by Google App Engine
This is Rietveld 408576698