OLD | NEW |
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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 WebSettings::HoverType WebSettingsImpl::primaryHoverType() const | 669 WebSettings::HoverType WebSettingsImpl::primaryHoverType() const |
670 { | 670 { |
671 return static_cast<HoverType>(m_settings->primaryHoverType()); | 671 return static_cast<HoverType>(m_settings->primaryHoverType()); |
672 } | 672 } |
673 | 673 |
674 bool WebSettingsImpl::viewportEnabled() const | 674 bool WebSettingsImpl::viewportEnabled() const |
675 { | 675 { |
676 return m_settings->viewportEnabled(); | 676 return m_settings->viewportEnabled(); |
677 } | 677 } |
678 | 678 |
| 679 bool WebSettingsImpl::viewportMetaEnabled() const |
| 680 { |
| 681 return m_settings->viewportMetaEnabled(); |
| 682 } |
| 683 |
679 bool WebSettingsImpl::doubleTapToZoomEnabled() const | 684 bool WebSettingsImpl::doubleTapToZoomEnabled() const |
680 { | 685 { |
681 return m_devToolsEmulator->doubleTapToZoomEnabled(); | 686 return m_devToolsEmulator->doubleTapToZoomEnabled(); |
682 } | 687 } |
683 | 688 |
684 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const | 689 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const |
685 { | 690 { |
686 return m_settings->mockGestureTapHighlightsEnabled(); | 691 return m_settings->mockGestureTapHighlightsEnabled(); |
687 } | 692 } |
688 | 693 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 { | 786 { |
782 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 787 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
783 } | 788 } |
784 | 789 |
785 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 790 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
786 { | 791 { |
787 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 792 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
788 } | 793 } |
789 | 794 |
790 } // namespace blink | 795 } // namespace blink |
OLD | NEW |