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

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

Issue 22855008: Support a runtime flag for navigator content utils feature (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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 WEBKIT_EXPORT static void enableWebMIDI(bool); 131 WEBKIT_EXPORT static void enableWebMIDI(bool);
132 WEBKIT_EXPORT static bool isWebMIDIEnabled(); 132 WEBKIT_EXPORT static bool isWebMIDIEnabled();
133 133
134 WEBKIT_EXPORT static void enableDataListElement(bool); 134 WEBKIT_EXPORT static void enableDataListElement(bool);
135 WEBKIT_EXPORT static bool isDataListElementEnabled(); 135 WEBKIT_EXPORT static bool isDataListElementEnabled();
136 136
137 WEBKIT_EXPORT static void enableHTMLImports(bool); 137 WEBKIT_EXPORT static void enableHTMLImports(bool);
138 WEBKIT_EXPORT static bool isHTMLImportsEnabled(); 138 WEBKIT_EXPORT static bool isHTMLImportsEnabled();
139 139
140 WEBKIT_EXPORT static void enableNavigatorContentUtils(bool);
141 WEBKIT_EXPORT static bool isNavigatorContentUtilsEnabled();
abarth-chromium 2013/08/19 19:18:07 There's no need for this API. We can control the
gyuyoung-inactive 2013/08/20 08:24:37 I don't understand well. Stable APIs as Geolocatio
142
140 WEBKIT_EXPORT static void enableCustomElements(bool); 143 WEBKIT_EXPORT static void enableCustomElements(bool);
141 144
142 WEBKIT_EXPORT static void enableOverlayScrollbars(bool); 145 WEBKIT_EXPORT static void enableOverlayScrollbars(bool);
143 146
144 private: 147 private:
145 WebRuntimeFeatures(); 148 WebRuntimeFeatures();
146 }; 149 };
147 150
148 } // namespace WebKit 151 } // namespace WebKit
149 152
150 #endif 153 #endif
OLDNEW
« Source/core/page/RuntimeEnabledFeatures.in ('K') | « Source/web/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698