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

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

Issue 75823002: Add Blink-side flag for enabling/disabling layer squashing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 void WebSettingsImpl::setMemoryInfoEnabled(bool enabled) 557 void WebSettingsImpl::setMemoryInfoEnabled(bool enabled)
558 { 558 {
559 m_settings->setMemoryInfoEnabled(enabled); 559 m_settings->setMemoryInfoEnabled(enabled);
560 } 560 }
561 561
562 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) 562 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled)
563 { 563 {
564 m_settings->setHyperlinkAuditingEnabled(enabled); 564 m_settings->setHyperlinkAuditingEnabled(enabled);
565 } 565 }
566 566
567 void WebSettingsImpl::setLayerSquashingEnabled(bool enabled)
568 {
569 m_settings->setLayerSquashingEnabled(enabled);
570 }
571
567 void WebSettingsImpl::setLayoutFallbackWidth(int width) 572 void WebSettingsImpl::setLayoutFallbackWidth(int width)
568 { 573 {
569 m_settings->setLayoutFallbackWidth(width); 574 m_settings->setLayoutFallbackWidth(width);
570 } 575 }
571 576
572 void WebSettingsImpl::setAsynchronousSpellCheckingEnabled(bool enabled) 577 void WebSettingsImpl::setAsynchronousSpellCheckingEnabled(bool enabled)
573 { 578 {
574 m_settings->setAsynchronousSpellCheckingEnabled(enabled); 579 m_settings->setAsynchronousSpellCheckingEnabled(enabled);
575 } 580 }
576 581
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 { 771 {
767 m_settings->setUseSolidColorScrollbars(enabled); 772 m_settings->setUseSolidColorScrollbars(enabled);
768 } 773 }
769 774
770 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 775 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
771 { 776 {
772 m_mainFrameResizesAreOrientationChanges = enabled; 777 m_mainFrameResizesAreOrientationChanges = enabled;
773 } 778 }
774 779
775 } // namespace blink 780 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698