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

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

Issue 2885033007: Disable color/date chooser in VR mode via WebPreferences (Closed)
Patch Set: added explanatory comment. Created 3 years, 6 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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 } 634 }
635 635
636 void WebSettingsImpl::SetPresentationRequiresUserGesture(bool required) { 636 void WebSettingsImpl::SetPresentationRequiresUserGesture(bool required) {
637 settings_->SetPresentationRequiresUserGesture(required); 637 settings_->SetPresentationRequiresUserGesture(required);
638 } 638 }
639 639
640 void WebSettingsImpl::SetEmbeddedMediaExperienceEnabled(bool enabled) { 640 void WebSettingsImpl::SetEmbeddedMediaExperienceEnabled(bool enabled) {
641 settings_->SetEmbeddedMediaExperienceEnabled(enabled); 641 settings_->SetEmbeddedMediaExperienceEnabled(enabled);
642 } 642 }
643 643
644 void WebSettingsImpl::SetPagePopupsSuppressed(bool suppressed) {
645 settings_->SetPagePopupsSuppressed(suppressed);
646 }
647
644 void WebSettingsImpl::SetViewportEnabled(bool enabled) { 648 void WebSettingsImpl::SetViewportEnabled(bool enabled) {
645 settings_->SetViewportEnabled(enabled); 649 settings_->SetViewportEnabled(enabled);
646 } 650 }
647 651
648 void WebSettingsImpl::SetViewportMetaEnabled(bool enabled) { 652 void WebSettingsImpl::SetViewportMetaEnabled(bool enabled) {
649 settings_->SetViewportMetaEnabled(enabled); 653 settings_->SetViewportMetaEnabled(enabled);
650 } 654 }
651 655
652 void WebSettingsImpl::SetSyncXHRInDocumentsEnabled(bool enabled) { 656 void WebSettingsImpl::SetSyncXHRInDocumentsEnabled(bool enabled) {
653 settings_->SetSyncXHRInDocumentsEnabled(enabled); 657 settings_->SetSyncXHRInDocumentsEnabled(enabled);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 void WebSettingsImpl::SetMediaControlsEnabled(bool enabled) { 730 void WebSettingsImpl::SetMediaControlsEnabled(bool enabled) {
727 settings_->SetMediaControlsEnabled(enabled); 731 settings_->SetMediaControlsEnabled(enabled);
728 } 732 }
729 733
730 void WebSettingsImpl::SetDoNotUpdateSelectionOnMutatingSelectionRange( 734 void WebSettingsImpl::SetDoNotUpdateSelectionOnMutatingSelectionRange(
731 bool enabled) { 735 bool enabled) {
732 settings_->SetDoNotUpdateSelectionOnMutatingSelectionRange(enabled); 736 settings_->SetDoNotUpdateSelectionOnMutatingSelectionRange(enabled);
733 } 737 }
734 738
735 } // namespace blink 739 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698