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

Side by Side Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 15796009: Parse SVG as HTML (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile issue (the tree moved). Ready for landing Created 7 years, 6 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/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | Source/core/dom/Document.cpp » ('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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 void WebRuntimeFeatures::enablePagePopup(bool enable) 423 void WebRuntimeFeatures::enablePagePopup(bool enable)
424 { 424 {
425 RuntimeEnabledFeatures::setPagePopupEnabled(enable); 425 RuntimeEnabledFeatures::setPagePopupEnabled(enable);
426 } 426 }
427 427
428 bool WebRuntimeFeatures::isPagePopupEnabled() 428 bool WebRuntimeFeatures::isPagePopupEnabled()
429 { 429 {
430 return RuntimeEnabledFeatures::pagePopupEnabled(); 430 return RuntimeEnabledFeatures::pagePopupEnabled();
431 } 431 }
432 432
433 void WebRuntimeFeatures::enableParseSVGAsHTML(bool enable)
434 {
435 RuntimeEnabledFeatures::setParseSVGAsHTMLEnabled(enable);
436 }
437
438 bool WebRuntimeFeatures::isParseSVGAsHTMLEnabled()
439 {
440 return RuntimeEnabledFeatures::parseSVGAsHTMLEnabled();
441 }
442
433 void WebRuntimeFeatures::enablePeerConnection(bool enable) 443 void WebRuntimeFeatures::enablePeerConnection(bool enable)
434 { 444 {
435 RuntimeEnabledFeatures::setPeerConnectionEnabled(enable); 445 RuntimeEnabledFeatures::setPeerConnectionEnabled(enable);
436 } 446 }
437 447
438 bool WebRuntimeFeatures::isPeerConnectionEnabled() 448 bool WebRuntimeFeatures::isPeerConnectionEnabled()
439 { 449 {
440 return RuntimeEnabledFeatures::peerConnectionEnabled(); 450 return RuntimeEnabledFeatures::peerConnectionEnabled();
441 } 451 }
442 452
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 { 584 {
575 RuntimeEnabledFeatures::setDataListElementEnabled(enable); 585 RuntimeEnabledFeatures::setDataListElementEnabled(enable);
576 } 586 }
577 587
578 bool WebRuntimeFeatures::isDataListElementEnabled() 588 bool WebRuntimeFeatures::isDataListElementEnabled()
579 { 589 {
580 return RuntimeEnabledFeatures::dataListElementEnabled(); 590 return RuntimeEnabledFeatures::dataListElementEnabled();
581 } 591 }
582 592
583 } // namespace WebKit 593 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698