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

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

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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/web/WebSettingsImpl.h ('k') | Source/web/WebSharedWorkerImpl.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) 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void WebSettingsImpl::setDeviceSupportsTouch(bool deviceSupportsTouch) 132 void WebSettingsImpl::setDeviceSupportsTouch(bool deviceSupportsTouch)
133 { 133 {
134 m_settings->setDeviceSupportsTouch(deviceSupportsTouch); 134 m_settings->setDeviceSupportsTouch(deviceSupportsTouch);
135 } 135 }
136 136
137 void WebSettingsImpl::setDeviceSupportsMouse(bool deviceSupportsMouse) 137 void WebSettingsImpl::setDeviceSupportsMouse(bool deviceSupportsMouse)
138 { 138 {
139 m_settings->setDeviceSupportsMouse(deviceSupportsMouse); 139 m_settings->setDeviceSupportsMouse(deviceSupportsMouse);
140 } 140 }
141 141
142 bool WebSettingsImpl::deviceSupportsTouch()
143 {
144 return m_settings->deviceSupportsTouch();
145 }
146
147 void WebSettingsImpl::setAutoZoomFocusedNodeToLegibleScale(bool autoZoomFocusedN odeToLegibleScale) 142 void WebSettingsImpl::setAutoZoomFocusedNodeToLegibleScale(bool autoZoomFocusedN odeToLegibleScale)
148 { 143 {
149 m_autoZoomFocusedNodeToLegibleScale = autoZoomFocusedNodeToLegibleScale; 144 m_autoZoomFocusedNodeToLegibleScale = autoZoomFocusedNodeToLegibleScale;
150 } 145 }
151 146
152 void WebSettingsImpl::setTextAutosizingEnabled(bool enabled) 147 void WebSettingsImpl::setTextAutosizingEnabled(bool enabled)
153 { 148 {
154 m_settings->setTextAutosizingEnabled(enabled); 149 m_settings->setTextAutosizingEnabled(enabled);
155 } 150 }
156 151
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) 516 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
522 { 517 {
523 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 518 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
524 } 519 }
525 520
526 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) 521 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled)
527 { 522 {
528 m_settings->setAntialiased2dCanvasEnabled(enabled); 523 m_settings->setAntialiased2dCanvasEnabled(enabled);
529 } 524 }
530 525
531 void WebSettingsImpl::setDeferred2dCanvasEnabled(bool enabled)
532 {
533 }
534
535 void WebSettingsImpl::setDeferredImageDecodingEnabled(bool enabled) 526 void WebSettingsImpl::setDeferredImageDecodingEnabled(bool enabled)
536 { 527 {
537 DeferredImageDecoder::setEnabled(enabled); 528 DeferredImageDecoder::setEnabled(enabled);
538 m_deferredImageDecodingEnabled = enabled; 529 m_deferredImageDecodingEnabled = enabled;
539 } 530 }
540 531
541 void WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled(bool enab led) 532 void WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled(bool enab led)
542 { 533 {
543 m_settings->setAcceleratedCompositingForFixedPositionEnabled(enabled); 534 m_settings->setAcceleratedCompositingForFixedPositionEnabled(enabled);
544 } 535 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 bool WebSettingsImpl::viewportMetaEnabled() const 652 bool WebSettingsImpl::viewportMetaEnabled() const
662 { 653 {
663 return m_settings->viewportMetaEnabled(); 654 return m_settings->viewportMetaEnabled();
664 } 655 }
665 656
666 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const 657 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const
667 { 658 {
668 return m_mainFrameResizesAreOrientationChanges; 659 return m_mainFrameResizesAreOrientationChanges;
669 } 660 }
670 661
671 void WebSettingsImpl::setShouldDisplaySubtitles(bool enabled)
672 {
673 m_settings->setShouldDisplaySubtitles(enabled);
674 }
675
676 void WebSettingsImpl::setShouldDisplayCaptions(bool enabled)
677 {
678 m_settings->setShouldDisplayCaptions(enabled);
679 }
680
681 void WebSettingsImpl::setShouldDisplayTextDescriptions(bool enabled)
682 {
683 m_settings->setShouldDisplayTextDescriptions(enabled);
684 }
685
686 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) 662 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled)
687 { 663 {
688 m_settings->setShouldRespectImageOrientation(enabled); 664 m_settings->setShouldRespectImageOrientation(enabled);
689 } 665 }
690 666
691 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) 667 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required)
692 { 668 {
693 m_settings->setMediaPlaybackRequiresUserGesture(required); 669 m_settings->setMediaPlaybackRequiresUserGesture(required);
694 } 670 }
695 671
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 { 748 {
773 m_settings->setUseSolidColorScrollbars(enabled); 749 m_settings->setUseSolidColorScrollbars(enabled);
774 } 750 }
775 751
776 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 752 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
777 { 753 {
778 m_mainFrameResizesAreOrientationChanges = enabled; 754 m_mainFrameResizesAreOrientationChanges = enabled;
779 } 755 }
780 756
781 } // namespace blink 757 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698