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

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

Issue 239533002: Combine settings about compositing scrollable frames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/CompositedLayerMappingTest.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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled) 493 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled)
494 { 494 {
495 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled); 495 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled);
496 } 496 }
497 497
498 void WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled(bool enabled) 498 void WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled(bool enabled)
499 { 499 {
500 m_settings->setAcceleratedCompositingForAnimationEnabled(enabled); 500 m_settings->setAcceleratedCompositingForAnimationEnabled(enabled);
501 } 501 }
502 502
503 void WebSettingsImpl::setAcceleratedCompositingForScrollableFramesEnabled(bool e nabled)
504 {
505 m_settings->setAcceleratedCompositingForScrollableFramesEnabled(enabled);
506 }
507
508 void WebSettingsImpl::setAccelerated2dCanvasEnabled(bool enabled) 503 void WebSettingsImpl::setAccelerated2dCanvasEnabled(bool enabled)
509 { 504 {
510 m_settings->setAccelerated2dCanvasEnabled(enabled); 505 m_settings->setAccelerated2dCanvasEnabled(enabled);
511 } 506 }
512 507
513 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) 508 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
514 { 509 {
515 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 510 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
516 } 511 }
517 512
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 { 730 {
736 m_settings->setUseSolidColorScrollbars(enabled); 731 m_settings->setUseSolidColorScrollbars(enabled);
737 } 732 }
738 733
739 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 734 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
740 { 735 {
741 m_mainFrameResizesAreOrientationChanges = enabled; 736 m_mainFrameResizesAreOrientationChanges = enabled;
742 } 737 }
743 738
744 } // namespace blink 739 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/CompositedLayerMappingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698