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

Side by Side Diff: public/web/WebRuntimeFeatures.h

Issue 22871006: Implement unregisterProtocolHandler() function on CUSTOM_SCHEME_HANDLER (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 WEBKIT_EXPORT static void enableWebMIDI(bool); 134 WEBKIT_EXPORT static void enableWebMIDI(bool);
135 WEBKIT_EXPORT static bool isWebMIDIEnabled(); 135 WEBKIT_EXPORT static bool isWebMIDIEnabled();
136 136
137 WEBKIT_EXPORT static void enableDataListElement(bool); 137 WEBKIT_EXPORT static void enableDataListElement(bool);
138 WEBKIT_EXPORT static bool isDataListElementEnabled(); 138 WEBKIT_EXPORT static bool isDataListElementEnabled();
139 139
140 WEBKIT_EXPORT static void enableHTMLImports(bool); 140 WEBKIT_EXPORT static void enableHTMLImports(bool);
141 WEBKIT_EXPORT static bool isHTMLImportsEnabled(); 141 WEBKIT_EXPORT static bool isHTMLImportsEnabled();
142 142
143 WEBKIT_EXPORT static void enableCustomSchemeHandler(bool);
144 WEBKIT_EXPORT static bool isCustomSchemeHandlerEnabled();
abarth-chromium 2013/08/21 17:10:19 There is no need to expose this API separately. I
gyuyoung-inactive 2013/08/22 01:12:38 I wonder if the "experimental" API is generated au
145
143 // FIXME: Remove this when embedders switch to enableEmbedderCustomElements. 146 // FIXME: Remove this when embedders switch to enableEmbedderCustomElements.
144 WEBKIT_EXPORT static void enableCustomElements(bool); 147 WEBKIT_EXPORT static void enableCustomElements(bool);
145 WEBKIT_EXPORT static void enableEmbedderCustomElements(bool); 148 WEBKIT_EXPORT static void enableEmbedderCustomElements(bool);
146 149
147 WEBKIT_EXPORT static void enableOverlayScrollbars(bool); 150 WEBKIT_EXPORT static void enableOverlayScrollbars(bool);
148 151
149 private: 152 private:
150 WebRuntimeFeatures(); 153 WebRuntimeFeatures();
151 }; 154 };
152 155
153 } // namespace WebKit 156 } // namespace WebKit
154 157
155 #endif 158 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698