[Webkit-unassigned] [Bug 32745] New: Add IWebPreferencesPrivate::[set]AcceleratedCompositingEnabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 18 15:07:47 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32745

           Summary: Add
                    IWebPreferencesPrivate::[set]AcceleratedCompositingEna
                    bled
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com



Adam Roben (aroben) <aroben at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45192|                            |review?
               Flag|                            |


Created an attachment (id=45192)
 --> (https://bugs.webkit.org/attachment.cgi?id=45192)
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(-)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list