Bug 29315 - Add a UI delegate callback to let the delegate draw a WebView's background
Summary: Add a UI delegate callback to let the delegate draw a WebView's background
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 14:42 PDT by Adam Roben (:aroben)
Modified: 2009-09-16 14:54 PDT (History)
2 users (show)

See Also:


Attachments
Patch v1 (2.61 KB, patch)
2009-09-16 14:42 PDT, Adam Roben (:aroben)
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>