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

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

Issue 110183002: Remove #if ENABLE(NAVIGATOR_CONTENT_UTILS) from blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased #2 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 a9f4b3114b18acd7beb6b9dbc0c7e7278608d379..1e42736496243dc561d96dcb7aa54faa51733175 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.idl
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.idl
@@ -20,8 +20,8 @@
// http://www.w3.org/TR/html5/system-state-and-capabilities.html#custom-handlers
partial interface Navigator {
- [Conditional=NAVIGATOR_CONTENT_UTILS, RaisesException] void registerProtocolHandler(DOMString scheme, DOMString url, DOMString title);
- [Conditional=NAVIGATOR_CONTENT_UTILS&CUSTOM_SCHEME_HANDLER, RaisesException] DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url);
- [Conditional=NAVIGATOR_CONTENT_UTILS&CUSTOM_SCHEME_HANDLER, RaisesException] void unregisterProtocolHandler(DOMString scheme, DOMString url);
+ [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);
};

Powered by Google App Engine
This is Rietveld 408576698