Summary: | Add a UI delegate callback to let the delegate draw a WebView's background | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> | ||||
Component: | WebKit API | Assignee: | 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: |
|
Comment on attachment 39661 [details]
Patch v1
r=me
Committed r48440: <http://trac.webkit.org/changeset/48440> |
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(-)