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+

Adam Roben (:aroben)
Reported 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(-)
Attachments
Patch v1 (2.61 KB, patch)
2009-09-16 14:42 PDT, Adam Roben (:aroben)
hyatt: review+
Dave Hyatt
Comment 1 2009-09-16 14:43:21 PDT
Comment on attachment 39661 [details] Patch v1 r=me
Adam Roben (:aroben)
Comment 2 2009-09-16 14:54:34 PDT
Note You need to log in before you can comment on or make changes to this bug.