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

Unified Diff: Source/core/dom/Document.cpp

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 years, 10 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: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 4bd2b1ec605672d4ee1c1df30ab85abdc44518a4..1c03a93ebf152b485f11a8cf1582192eb03dcddf 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -808,12 +808,6 @@ PassRefPtrWillBeRawPtr<Element> Document::createElementNS(const AtomicString& na
return element.release();
}
-ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, ExceptionState& exceptionState)
-{
- ElementRegistrationOptions options;
- return registerElement(scriptState, name, options, exceptionState);
-}
-
ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, const ElementRegistrationOptions& options, ExceptionState& exceptionState, CustomElement::NameSet validNames)
{
if (!registrationContext()) {
@@ -4360,11 +4354,6 @@ void Document::setDesignMode(InheritedBool value)
}
}
-Document::InheritedBool Document::getDesignMode() const
-{
- return m_designMode;
-}
-
bool Document::inDesignMode() const
{
for (const Document* d = this; d; d = d->parentDocument()) {
@@ -5172,13 +5161,6 @@ DocumentLoader* Document::loader() const
return loader;
}
-IntSize Document::initialViewportSize() const
-{
- if (!view())
- return IntSize();
- return view()->unscaledVisibleContentSize(IncludeScrollbars);
-}
-
Node* eventTargetNodeForDocument(Document* doc)
{
if (!doc)

Powered by Google App Engine
This is Rietveld 408576698