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

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

Issue 2394653002: Disable download for overlay panel content (Closed)
Patch Set: rebase Created 4 years, 1 month 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 } 499 }
500 500
501 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) { 501 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) {
502 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled); 502 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled);
503 } 503 }
504 504
505 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) { 505 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) {
506 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); 506 m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
507 } 507 }
508 508
509 void WebSettingsImpl::setHideDownloadUI(bool hide) {
510 m_settings->setHideDownloadUI(hide);
511 }
512
509 void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) { 513 void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) {
510 m_settings->setHistoryEntryRequiresUserGesture(enabled); 514 m_settings->setHistoryEntryRequiresUserGesture(enabled);
511 } 515 }
512 516
513 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) { 517 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) {
514 m_settings->setHyperlinkAuditingEnabled(enabled); 518 m_settings->setHyperlinkAuditingEnabled(enabled);
515 } 519 }
516 520
517 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) { 521 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) {
518 m_settings->setAutoplayExperimentMode(mode); 522 m_settings->setAutoplayExperimentMode(mode);
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 V8CacheStrategiesForCacheStorage strategies) { 685 V8CacheStrategiesForCacheStorage strategies) {
682 m_settings->setV8CacheStrategiesForCacheStorage( 686 m_settings->setV8CacheStrategiesForCacheStorage(
683 static_cast<blink::V8CacheStrategiesForCacheStorage>(strategies)); 687 static_cast<blink::V8CacheStrategiesForCacheStorage>(strategies));
684 } 688 }
685 689
686 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) { 690 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) {
687 m_devToolsEmulator->setViewportStyle(style); 691 m_devToolsEmulator->setViewportStyle(style);
688 } 692 }
689 693
690 } // namespace blink 694 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698