Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: third_party/WebKit/Source/web/WebElement.cpp

Issue 1248643004: Test distillability without JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@early
Patch Set: move tests, remove dbg msg Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebElement.cpp
diff --git a/third_party/WebKit/Source/web/WebElement.cpp b/third_party/WebKit/Source/web/WebElement.cpp
index 0a9668ee9266eace187c508674462091c4cc31b9..6f92a56f78d6644fb4b5bf61f0fb485481aa10f9 100644
--- a/third_party/WebKit/Source/web/WebElement.cpp
+++ b/third_party/WebKit/Source/web/WebElement.cpp
@@ -143,6 +143,11 @@ WebString WebElement::textContent() const
return constUnwrap<Element>()->textContent();
}
+WebString WebElement::innerHTML() const
+{
+ return constUnwrap<Element>()->innerHTML();
+}
+
void WebElement::requestFullScreen()
{
Element* element = unwrap<Element>();

Powered by Google App Engine
This is Rietveld 408576698