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

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

Issue 13646006: Remove the ENABLE_IFRAME_SEAMLESS compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Tools/Scripts/webkitperl/FeatureList.pm » ('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) 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 RuntimeEnabledFeatures::setExperimentalContentSecurityPolicyFeaturesEnabled( enable); 635 RuntimeEnabledFeatures::setExperimentalContentSecurityPolicyFeaturesEnabled( enable);
636 } 636 }
637 637
638 bool WebRuntimeFeatures::isExperimentalContentSecurityPolicyFeaturesEnabled() 638 bool WebRuntimeFeatures::isExperimentalContentSecurityPolicyFeaturesEnabled()
639 { 639 {
640 return RuntimeEnabledFeatures::experimentalContentSecurityPolicyFeaturesEnab led(); 640 return RuntimeEnabledFeatures::experimentalContentSecurityPolicyFeaturesEnab led();
641 } 641 }
642 642
643 void WebRuntimeFeatures::enableSeamlessIFrames(bool enable) 643 void WebRuntimeFeatures::enableSeamlessIFrames(bool enable)
644 { 644 {
645 #if ENABLE(IFRAME_SEAMLESS)
646 return RuntimeEnabledFeatures::setSeamlessIFramesEnabled(enable); 645 return RuntimeEnabledFeatures::setSeamlessIFramesEnabled(enable);
647 #else
648 UNUSED_PARAM(enable);
649 #endif
650 } 646 }
651 647
652 bool WebRuntimeFeatures::areSeamlessIFramesEnabled() 648 bool WebRuntimeFeatures::areSeamlessIFramesEnabled()
653 { 649 {
654 #if ENABLE(IFRAME_SEAMLESS)
655 return RuntimeEnabledFeatures::seamlessIFramesEnabled(); 650 return RuntimeEnabledFeatures::seamlessIFramesEnabled();
656 #else
657 return false;
658 #endif
659 } 651 }
660 652
661 void WebRuntimeFeatures::enableCanvasPath(bool enable) 653 void WebRuntimeFeatures::enableCanvasPath(bool enable)
662 { 654 {
663 RuntimeEnabledFeatures::setCanvasPathEnabled(enable); 655 RuntimeEnabledFeatures::setCanvasPathEnabled(enable);
664 } 656 }
665 657
666 bool WebRuntimeFeatures::isCanvasPathEnabled() 658 bool WebRuntimeFeatures::isCanvasPathEnabled()
667 { 659 {
668 return RuntimeEnabledFeatures::canvasPathEnabled(); 660 return RuntimeEnabledFeatures::canvasPathEnabled();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 bool WebRuntimeFeatures::isRequestAutocompleteEnabled() 712 bool WebRuntimeFeatures::isRequestAutocompleteEnabled()
721 { 713 {
722 #if ENABLE(REQUEST_AUTOCOMPLETE) 714 #if ENABLE(REQUEST_AUTOCOMPLETE)
723 return RuntimeEnabledFeatures::requestAutocompleteEnabled(); 715 return RuntimeEnabledFeatures::requestAutocompleteEnabled();
724 #else 716 #else
725 return false; 717 return false;
726 #endif 718 #endif
727 } 719 }
728 720
729 } // namespace WebKit 721 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Tools/Scripts/webkitperl/FeatureList.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698