[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.21-584-g1e41756
eric at webkit.org
eric at webkit.org
Fri Feb 26 22:24:12 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 3083fb8a0d8d08c3345a138c13e47a7081184b5c
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Feb 18 09:27:03 2010 +0000
2010-02-18 Jay Campan <jcampan at google.com>
Reviewed by Adam Barth.
Exposing the title in WebDocument.
https://bugs.webkit.org/show_bug.cgi?id=35058
* public/WebDocument.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::title):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 6f9a19f..a5482ab 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,15 @@
+2010-02-18 Jay Campan <jcampan at google.com>
+
+ Reviewed by Adam Barth.
+
+ Exposing the title in WebDocument.
+
+ https://bugs.webkit.org/show_bug.cgi?id=35058
+
+ * public/WebDocument.h:
+ * src/WebDocument.cpp:
+ (WebKit::WebDocument::title):
+
2010-02-17 Dmitry Titov <dimich at chromium.org>
Reviewed by David Levin, Darin Fisher, Simon Hausmann.
diff --git a/WebKit/chromium/public/WebDocument.h b/WebKit/chromium/public/WebDocument.h
index e158c41..8964d3a 100644
--- a/WebKit/chromium/public/WebDocument.h
+++ b/WebKit/chromium/public/WebDocument.h
@@ -65,6 +65,7 @@ public:
WEBKIT_API WebElement documentElement() const;
WEBKIT_API WebElement body() const;
WEBKIT_API WebElement head();
+ WEBKIT_API WebString title() const;
WEBKIT_API WebNodeCollection all();
WEBKIT_API WebURL completeURL(const WebString&) const;
WEBKIT_API WebElement getElementById(const WebString& id) const;
diff --git a/WebKit/chromium/src/WebDocument.cpp b/WebKit/chromium/src/WebDocument.cpp
index c696f4f..2a91e22 100644
--- a/WebKit/chromium/src/WebDocument.cpp
+++ b/WebKit/chromium/src/WebDocument.cpp
@@ -98,6 +98,11 @@ WebElement WebDocument::head()
return WebElement(unwrap<Document>()->head());
}
+WebString WebDocument::title() const
+{
+ return WebString(constUnwrap<Document>()->title());
+}
+
WebNodeCollection WebDocument::all()
{
return WebNodeCollection(unwrap<Document>()->all());
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list