[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:58:42 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit a58944a2114a169aa88b019e38ec04f6b01c24a9
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Mar 25 22:18:58 2002 +0000
Added support for the "View Render Tree" menu.
i Added private API to allow browser to access the render tree.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 7e581bf..d9858f2 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-25 Richard Williamson <rjw at apple.com>
+
+ Added private API to allow browser to access the render tree.
+
+ * WebView.subproj/IFWebViewPrivate.mm:
+
2002-03-24 Richard Williamson <rjw at apple.com>
Changed data source to create IFURLHandle of the appropriate class.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 7e581bf..d9858f2 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,9 @@
+2002-03-25 Richard Williamson <rjw at apple.com>
+
+ Added private API to allow browser to access the render tree.
+
+ * WebView.subproj/IFWebViewPrivate.mm:
+
2002-03-24 Richard Williamson <rjw at apple.com>
Changed data source to create IFURLHandle of the appropriate class.
diff --git a/WebKit/WebView.subproj/IFWebViewPrivate.mm b/WebKit/WebView.subproj/IFWebViewPrivate.mm
index 8184364..a578a76 100644
--- a/WebKit/WebView.subproj/IFWebViewPrivate.mm
+++ b/WebKit/WebView.subproj/IFWebViewPrivate.mm
@@ -12,6 +12,7 @@
// Includes from KDE
#include <khtmlview.h>
+#include <html/html_documentimpl.h>
@implementation IFWebViewPrivate
@@ -97,6 +98,18 @@
return ((IFWebViewPrivate *)_viewPrivate)->widget;
}
+- (khtml::RenderObject *)_renderRoot
+{
+ KHTMLPart *part = ((IFWebViewPrivate *)_viewPrivate)->widget->part();
+ DOM::DocumentImpl *doc;
+ if (part){
+ doc = part->xmlDocImpl();
+ if (doc)
+ return doc->renderer();
+ }
+ return 0;
+}
+
- (KHTMLView *)_provisionalWidget
{
diff --git a/WebKit/WebView.subproj/WebFrameViewPrivate.m b/WebKit/WebView.subproj/WebFrameViewPrivate.m
index 8184364..a578a76 100644
--- a/WebKit/WebView.subproj/WebFrameViewPrivate.m
+++ b/WebKit/WebView.subproj/WebFrameViewPrivate.m
@@ -12,6 +12,7 @@
// Includes from KDE
#include <khtmlview.h>
+#include <html/html_documentimpl.h>
@implementation IFWebViewPrivate
@@ -97,6 +98,18 @@
return ((IFWebViewPrivate *)_viewPrivate)->widget;
}
+- (khtml::RenderObject *)_renderRoot
+{
+ KHTMLPart *part = ((IFWebViewPrivate *)_viewPrivate)->widget->part();
+ DOM::DocumentImpl *doc;
+ if (part){
+ doc = part->xmlDocImpl();
+ if (doc)
+ return doc->renderer();
+ }
+ return 0;
+}
+
- (KHTMLView *)_provisionalWidget
{
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list