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

Unified Diff: Source/modules/navigatorcontentutils/NavigatorContentUtils.idl

Issue 22859043: Add a CustomSchemeHandler runtime flag to remove ENABLE(CUSTOM_SCHEME_HANDLER) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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: Source/modules/navigatorcontentutils/NavigatorContentUtils.idl
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.idl b/Source/modules/navigatorcontentutils/NavigatorContentUtils.idl
index 1e42736496243dc561d96dcb7aa54faa51733175..8fe64974a04b09b8226f9429b65c519e880a6cf9 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.idl
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.idl
@@ -21,7 +21,7 @@
// http://www.w3.org/TR/html5/system-state-and-capabilities.html#custom-handlers
partial interface Navigator {
[RuntimeEnabled=NavigatorContentUtils, RaisesException] void registerProtocolHandler(DOMString scheme, DOMString url, DOMString title);
- [RuntimeEnabled=NavigatorContentUtils, Conditional=CUSTOM_SCHEME_HANDLER, RaisesException] DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url);
- [RuntimeEnabled=NavigatorContentUtils, Conditional=CUSTOM_SCHEME_HANDLER, RaisesException] void unregisterProtocolHandler(DOMString scheme, DOMString url);
+ [RuntimeEnabled=CustomSchemeHandler, RaisesException] DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url);
+ [RuntimeEnabled=CustomSchemeHandler, RaisesException] void unregisterProtocolHandler(DOMString scheme, DOMString url);
};

Powered by Google App Engine
This is Rietveld 408576698