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

Side by Side Diff: Source/core/page/RuntimeEnabledFeatures.h

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing. Created 7 years, 8 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 static bool shadowDOMEnabled() { return isShadowDOMEnabled; } 193 static bool shadowDOMEnabled() { return isShadowDOMEnabled; }
194 static void setShadowDOMEnabled(bool isEnabled) { isShadowDOMEnabled = isEna bled; } 194 static void setShadowDOMEnabled(bool isEnabled) { isShadowDOMEnabled = isEna bled; }
195 195
196 static bool experimentalShadowDOMEnabled() { return isExperimentalShadowDOME nabled; } 196 static bool experimentalShadowDOMEnabled() { return isExperimentalShadowDOME nabled; }
197 static void setExperimentalShadowDOMEnabled(bool isEnabled) { isExperimental ShadowDOMEnabled = isEnabled; } 197 static void setExperimentalShadowDOMEnabled(bool isEnabled) { isExperimental ShadowDOMEnabled = isEnabled; }
198 198
199 static bool authorShadowDOMForAnyElementEnabled() { return isAuthorShadowDOM ForAnyElementEnabled; } 199 static bool authorShadowDOMForAnyElementEnabled() { return isAuthorShadowDOM ForAnyElementEnabled; }
200 static void setAuthorShadowDOMForAnyElementEnabled(bool isEnabled) { isAutho rShadowDOMForAnyElementEnabled = isEnabled; } 200 static void setAuthorShadowDOMForAnyElementEnabled(bool isEnabled) { isAutho rShadowDOMForAnyElementEnabled = isEnabled; }
201 201
202 #if ENABLE(CUSTOM_ELEMENTS)
203 static bool customDOMElementsEnabled() { return isCustomDOMElementsEnabled; } 202 static bool customDOMElementsEnabled() { return isCustomDOMElementsEnabled; }
204 static void setCustomDOMElements(bool isEnabled) { isCustomDOMElementsEnable d = isEnabled; } 203 static void setCustomDOMElements(bool isEnabled) { isCustomDOMElementsEnable d = isEnabled; }
205 #endif
206 204
207 static bool styleScopedEnabled() { return isStyleScopedEnabled; } 205 static bool styleScopedEnabled() { return isStyleScopedEnabled; }
208 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i sEnabled; } 206 static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = i sEnabled; }
209 207
210 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) 208 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE)
211 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled; } 209 static bool inputTypeDateTimeEnabled() { return isInputTypeDateTimeEnabled; }
212 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim eEnabled = isEnabled; } 210 static void setInputTypeDateTimeEnabled(bool isEnabled) { isInputTypeDateTim eEnabled = isEnabled; }
213 #endif 211 #endif
214 212
215 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; } 213 static bool inputTypeWeekEnabled() { return isInputTypeWeekEnabled; }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 #endif 289 #endif
292 290
293 static bool isVideoTrackEnabled; 291 static bool isVideoTrackEnabled;
294 292
295 static bool isShadowDOMEnabled; 293 static bool isShadowDOMEnabled;
296 294
297 static bool isExperimentalShadowDOMEnabled; 295 static bool isExperimentalShadowDOMEnabled;
298 296
299 static bool isAuthorShadowDOMForAnyElementEnabled; 297 static bool isAuthorShadowDOMForAnyElementEnabled;
300 298
301 #if ENABLE(CUSTOM_ELEMENTS)
302 static bool isCustomDOMElementsEnabled; 299 static bool isCustomDOMElementsEnabled;
303 #endif
304 300
305 static bool isStyleScopedEnabled; 301 static bool isStyleScopedEnabled;
306 302
307 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) 303 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE)
308 static bool isInputTypeDateTimeEnabled; 304 static bool isInputTypeDateTimeEnabled;
309 #endif 305 #endif
310 306
311 static bool isInputTypeWeekEnabled; 307 static bool isInputTypeWeekEnabled;
312 308
313 #if ENABLE(DIALOG_ELEMENT) 309 #if ENABLE(DIALOG_ELEMENT)
(...skipping 13 matching lines...) Expand all
327 static bool isDirectoryUploadEnabled; 323 static bool isDirectoryUploadEnabled;
328 324
329 static bool isExperimentalWebSocketEnabled; 325 static bool isExperimentalWebSocketEnabled;
330 326
331 static bool isIMEAPIEnabled; 327 static bool isIMEAPIEnabled;
332 }; 328 };
333 329
334 } // namespace WebCore 330 } // namespace WebCore
335 331
336 #endif // RuntimeEnabledFeatures_h 332 #endif // RuntimeEnabledFeatures_h
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLScriptRunner.cpp ('k') | Source/core/page/RuntimeEnabledFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698