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

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

Issue 434873002: Remove unused WebSettings getters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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') | public/web/WebSettings.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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) 579 void WebSettingsImpl::setEnableScrollAnimator(bool enabled)
580 { 580 {
581 m_settings->setScrollAnimatorEnabled(enabled); 581 m_settings->setScrollAnimatorEnabled(enabled);
582 } 582 }
583 583
584 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) 584 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled)
585 { 585 {
586 m_settings->setTouchAdjustmentEnabled(enabled); 586 m_settings->setTouchAdjustmentEnabled(enabled);
587 } 587 }
588 588
589 bool WebSettingsImpl::scrollAnimatorEnabled() const
590 {
591 return m_settings->scrollAnimatorEnabled();
592 }
593
594 bool WebSettingsImpl::touchEditingEnabled() const
595 {
596 return m_settings->touchEditingEnabled();
597 }
598
599 bool WebSettingsImpl::viewportEnabled() const 589 bool WebSettingsImpl::viewportEnabled() const
600 { 590 {
601 return m_settings->viewportEnabled(); 591 return m_settings->viewportEnabled();
602 } 592 }
603 593
604 bool WebSettingsImpl::viewportMetaEnabled() const
605 {
606 return m_settings->viewportMetaEnabled();
607 }
608
609 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const 594 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const
610 { 595 {
611 return m_mainFrameResizesAreOrientationChanges; 596 return m_mainFrameResizesAreOrientationChanges;
612 } 597 }
613 598
614 bool WebSettingsImpl::shrinksViewportContentToFit() const 599 bool WebSettingsImpl::shrinksViewportContentToFit() const
615 { 600 {
616 return m_shrinksViewportContentToFit; 601 return m_shrinksViewportContentToFit;
617 } 602 }
618 603
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 { 685 {
701 m_mainFrameResizesAreOrientationChanges = enabled; 686 m_mainFrameResizesAreOrientationChanges = enabled;
702 } 687 }
703 688
704 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) 689 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled)
705 { 690 {
706 m_disallowFullscreenForNonMediaElements = enabled; 691 m_disallowFullscreenForNonMediaElements = enabled;
707 } 692 }
708 693
709 } // namespace blink 694 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698