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

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

Issue 792233007: blink: Enable the GPU trigger when viewport meta tag is not read (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge once again last time I swear Created 5 years, 7 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
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.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) 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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698