Bug 32745

Summary: Add IWebPreferencesPrivate::[set]AcceleratedCompositingEnabled
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch adachan: review+

Description Adam Roben (:aroben) 2009-12-18 15:07:46 PST
Created attachment 45192 [details]
Patch

Need a short description and bug URL (OOPS!)

Reviewed by NOBODY (OOPS!).

* Interfaces/IWebPreferencesPrivate.idl: Added
[set]AcceleratedCompositingEnabled.

* Interfaces/WebKit.idl: Touched to force a build.

* WebPreferenceKeysPrivate.h: Added
WebKitAcceleratedCompositingEnabledPreferenceKey.

* WebPreferences.cpp:
(WebPreferences::initializeDefaultSettings): Default accelerated
compositing to on.
(WebPreferences::setAcceleratedCompositingEnabled): Store the new
value.
(WebPreferences::acceleratedCompositingEnabled): If accelerated
compositing isn't available, return false. Otherwise, return the value
stored in preferences.

* WebPreferences.h: Added [set]AcceleratedCompositingAvailable.

* WebView.cpp:
(WebView::notifyPreferencesChanged): Just pass the value from
WebPreferences on down.
---
 7 files changed, 58 insertions(+), 3 deletions(-)
Comment 1 WebKit Review Bot 2009-12-18 15:09:42 PST
style-queue ran check-webkit-style on attachment 45192 [details] without any errors.
Comment 2 Adam Roben (:aroben) 2009-12-21 06:37:09 PST
Committed r52442: <http://trac.webkit.org/changeset/52442>