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

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
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/DocumentMarker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 7537380c7f837972e4f5a585e4e60815ba3d94a6..fed90a594f430dfefc4b41cd47543fe01912753c 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)
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/DocumentMarker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698