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

Unified Diff: sky/engine/web/WebDocument.cpp

Issue 838463004: Remove embedder custom elements. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/web/WebCustomElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebDocument.cpp
diff --git a/sky/engine/web/WebDocument.cpp b/sky/engine/web/WebDocument.cpp
index 954f0be142d5e382b48f405988cba3c81c06c7c3..6c85b40ae9d63e33b0b2da7bfa7cd4fc9c753add 100644
--- a/sky/engine/web/WebDocument.cpp
+++ b/sky/engine/web/WebDocument.cpp
@@ -126,19 +126,6 @@ WebElement WebDocument::createElement(const WebString& tagName)
return element;
}
-v8::Handle<v8::Value> WebDocument::registerEmbedderCustomElement(const WebString& name, v8::Handle<v8::Value> options, WebExceptionCode& ec)
-{
- v8::Isolate* isolate = v8::Isolate::GetCurrent();
- Document* document = unwrap<Document>();
- Dictionary dictionary(options, isolate);
- TrackExceptionState exceptionState;
- ScriptValue constructor = document->registerElement(ScriptState::current(isolate), name, dictionary, exceptionState, CustomElement::EmbedderNames);
- ec = exceptionState.code();
- if (exceptionState.hadException())
- return v8::Handle<v8::Value>();
- return constructor.v8Value();
-}
-
void WebDocument::pauseAnimationsForTesting(double pauseTime) const {
constUnwrap<Document>()->frame()->view()->updateLayoutAndStyleForPainting();
constUnwrap<Document>()->timeline().pauseAnimationsForTesting(pauseTime);
« no previous file with comments | « sky/engine/web/WebCustomElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698