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

Side by Side Diff: Source/web/WebRuntimeFeatures.cpp

Issue 25279004: Add a runtime flag for XSLT (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/xml/parser/XMLDocumentParser.cpp ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 void WebRuntimeFeatures::enableHTMLImports(bool enable) 374 void WebRuntimeFeatures::enableHTMLImports(bool enable)
375 { 375 {
376 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable); 376 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable);
377 } 377 }
378 378
379 bool WebRuntimeFeatures::isHTMLImportsEnabled() 379 bool WebRuntimeFeatures::isHTMLImportsEnabled()
380 { 380 {
381 return RuntimeEnabledFeatures::htmlImportsEnabled(); 381 return RuntimeEnabledFeatures::htmlImportsEnabled();
382 } 382 }
383 383
384 void WebRuntimeFeatures::enableXSLT(bool enable)
385 {
386 RuntimeEnabledFeatures::setXSLTEnabled(enable);
387 }
388
384 void WebRuntimeFeatures::enableEmbedderCustomElements(bool enable) 389 void WebRuntimeFeatures::enableEmbedderCustomElements(bool enable)
385 { 390 {
386 RuntimeEnabledFeatures::setEmbedderCustomElementsEnabled(enable); 391 RuntimeEnabledFeatures::setEmbedderCustomElementsEnabled(enable);
387 } 392 }
388 393
389 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable) 394 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable)
390 { 395 {
391 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable); 396 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable);
392 } 397 }
393 398
394 void WebRuntimeFeatures::enableInputModeAttribute(bool enable) 399 void WebRuntimeFeatures::enableInputModeAttribute(bool enable)
395 { 400 {
396 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); 401 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable);
397 } 402 }
398 403
399 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) 404 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable)
400 { 405 {
401 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); 406 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable);
402 } 407 }
403 408
404 } // namespace WebKit 409 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/core/xml/parser/XMLDocumentParser.cpp ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698