2008-08-18 Jon Honeycutt <jhoneycutt@apple.com>
Add SPI to make a Windows WebView transparent.
Reviewed by Dan Bernstein.
* Interfaces/IWebViewPrivate.idl:
* WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::transitionToCommittedForNewPage): Call
updateBackground() when a new frame is attached, matching the Mac.
* WebFrame.cpp:
(WebFrame::updateBackground): Propagate WebView transparency to ourself
and our child frames.
* WebFrame.h:
* WebView.cpp:
(WebView::WebView):
(WebView::paintIntoBackingStore): Pass m_transparent when creating a
GraphicsContext, so the context will be created with an alpha channel.
(WebView::setTransparent):
(WebView::transparent):
* WebView.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 4dbee32..cb7f7cc 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2008-08-18 Jon Honeycutt <jhoneycutt@apple.com>
+
+ Add SPI to make a Windows WebView transparent.
+
+ Reviewed by Dan Bernstein.
+
+ * platform/graphics/GraphicsContext.h: Add a parameter, hasAlpha, that
+ determines whether the created context has an alpha channel.
+ * platform/graphics/win/GraphicsContextCGWin.cpp:
+ (WebCore::CGContextWithHDC):
+
2008-08-22 Timothy Hatcher <timothy@apple.com>
Rolls out r35834 because it caused a regression in the Inspector's