Bug 29315

Summary: Add a UI delegate callback to let the delegate draw a WebView's background
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt, sfalken
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch v1 hyatt: review+

Description Adam Roben (:aroben) 2009-09-16 14:42:01 PDT
Created attachment 39661 [details]
Patch v1

Need a short description and bug URL (OOPS!)

Reviewed by NOBODY (OOPS!).

* Interfaces/IWebUIDelegatePrivate.idl: Added
IWebUIDelegatePrivate2::drawBackground.

* WebView.cpp:
(WebView::paintIntoBackingStore): After clearing or filling with
white, let the delegate draw whatever background it wants. Also added
an assertion that the dirty rect is within our bounds.
---
 3 files changed, 30 insertions(+), 0 deletions(-)
Comment 1 Dave Hyatt 2009-09-16 14:43:21 PDT
Comment on attachment 39661 [details]
Patch v1

r=me
Comment 2 Adam Roben (:aroben) 2009-09-16 14:54:34 PDT
Committed r48440: <http://trac.webkit.org/changeset/48440>