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

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: mergeagain Created 5 years, 9 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
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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 WebSettings::HoverType WebSettingsImpl::primaryHoverType() const 640 WebSettings::HoverType WebSettingsImpl::primaryHoverType() const
641 { 641 {
642 return static_cast<HoverType>(m_settings->primaryHoverType()); 642 return static_cast<HoverType>(m_settings->primaryHoverType());
643 } 643 }
644 644
645 bool WebSettingsImpl::viewportEnabled() const 645 bool WebSettingsImpl::viewportEnabled() const
646 { 646 {
647 return m_settings->viewportEnabled(); 647 return m_settings->viewportEnabled();
648 } 648 }
649 649
650 bool WebSettingsImpl::viewportMetaEnabled() const
651 {
652 return m_settings->viewportMetaEnabled();
653 }
654
650 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const 655 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const
651 { 656 {
652 return m_settings->mockGestureTapHighlightsEnabled(); 657 return m_settings->mockGestureTapHighlightsEnabled();
653 } 658 }
654 659
655 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const 660 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const
656 { 661 {
657 return m_mainFrameResizesAreOrientationChanges; 662 return m_mainFrameResizesAreOrientationChanges;
658 } 663 }
659 664
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 { 746 {
742 m_mainFrameResizesAreOrientationChanges = enabled; 747 m_mainFrameResizesAreOrientationChanges = enabled;
743 } 748 }
744 749
745 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) 750 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options)
746 { 751 {
747 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 752 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
748 } 753 }
749 754
750 } // namespace blink 755 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698