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

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

Issue 17398002: Add tests and settings plumbing for accelerated fixed root background (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Flagging test as NeedsRebaseline for mac. Created 7 years, 5 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/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/page/Settings.in » ('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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled) 446 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled)
447 { 447 {
448 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled); 448 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled);
449 } 449 }
450 450
451 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled) 451 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled)
452 { 452 {
453 m_settings->setAcceleratedCompositingForVideoEnabled(enabled); 453 m_settings->setAcceleratedCompositingForVideoEnabled(enabled);
454 } 454 }
455 455
456 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled( 456 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled(bool ena bled)
457 bool enabled)
458 { 457 {
459 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled); 458 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled);
460 } 459 }
461 460
461 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo l enabled)
462 {
463 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled);
464 }
465
462 void WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled(bool enabled) 466 void WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled(bool enabled)
463 { 467 {
464 m_settings->setAcceleratedCompositingForPluginsEnabled(enabled); 468 m_settings->setAcceleratedCompositingForPluginsEnabled(enabled);
465 } 469 }
466 470
467 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled) 471 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled)
468 { 472 {
469 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled); 473 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled);
470 } 474 }
471 475
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 { 697 {
694 m_pinchOverlayScrollbarThickness = thickness; 698 m_pinchOverlayScrollbarThickness = thickness;
695 } 699 }
696 700
697 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) 701 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled)
698 { 702 {
699 m_settings->setPinchVirtualViewportEnabled(enabled); 703 m_settings->setPinchVirtualViewportEnabled(enabled);
700 } 704 }
701 705
702 } // namespace WebKit 706 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/page/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698