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

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 13462003: Add support for accelerated fixed root background (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@background-attachment-fixed2
Patch Set: Moved the layout tests. Created 7 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 void WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled(bool enabl ed) 432 void WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled(bool enabl ed)
433 { 433 {
434 m_settings->setAcceleratedCompositingFor3DTransformsEnabled(enabled); 434 m_settings->setAcceleratedCompositingFor3DTransformsEnabled(enabled);
435 } 435 }
436 436
437 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled) 437 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled)
438 { 438 {
439 m_settings->setAcceleratedCompositingForVideoEnabled(enabled); 439 m_settings->setAcceleratedCompositingForVideoEnabled(enabled);
440 } 440 }
441 441
442 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled( 442 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled(bool ena bled)
443 bool enabled)
444 { 443 {
445 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled); 444 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled);
446 } 445 }
447 446
447 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo l enabled)
448 {
449 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled);
450 }
451
448 void WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled(bool enabled) 452 void WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled(bool enabled)
449 { 453 {
450 m_settings->setAcceleratedCompositingForPluginsEnabled(enabled); 454 m_settings->setAcceleratedCompositingForPluginsEnabled(enabled);
451 } 455 }
452 456
453 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled) 457 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled)
454 { 458 {
455 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled); 459 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled);
456 } 460 }
457 461
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 { 678 {
675 m_settings->setSmartInsertDeleteEnabled(enabled); 679 m_settings->setSmartInsertDeleteEnabled(enabled);
676 } 680 }
677 681
678 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) 682 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled)
679 { 683 {
680 m_settings->setPinchVirtualViewportEnabled(enabled); 684 m_settings->setPinchVirtualViewportEnabled(enabled);
681 } 685 }
682 686
683 } // namespace WebKit 687 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698