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

Side by Side Diff: Source/core/dom/Document.h

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 unified diff | Download patch
« no previous file with comments | « Source/core/dom/DOMImplementation.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 bool queryCommandIndeterm(const String& command); 798 bool queryCommandIndeterm(const String& command);
799 bool queryCommandState(const String& command); 799 bool queryCommandState(const String& command);
800 bool queryCommandSupported(const String& command); 800 bool queryCommandSupported(const String& command);
801 String queryCommandValue(const String& command); 801 String queryCommandValue(const String& command);
802 802
803 KURL openSearchDescriptionURL(); 803 KURL openSearchDescriptionURL();
804 804
805 // designMode support 805 // designMode support
806 enum InheritedBool { off = false, on = true, inherit }; 806 enum InheritedBool { off = false, on = true, inherit };
807 void setDesignMode(InheritedBool value); 807 void setDesignMode(InheritedBool value);
808 InheritedBool getDesignMode() const;
809 bool inDesignMode() const; 808 bool inDesignMode() const;
810 String designMode() const; 809 String designMode() const;
811 void setDesignMode(const String&); 810 void setDesignMode(const String&);
812 811
813 Document* parentDocument() const; 812 Document* parentDocument() const;
814 Document& topDocument() const; 813 Document& topDocument() const;
815 WeakPtrWillBeRawPtr<Document> contextDocument(); 814 WeakPtrWillBeRawPtr<Document> contextDocument();
816 815
817 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } 816 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); }
818 817
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 void cancelAnimationFrame(int id); 950 void cancelAnimationFrame(int id);
952 void serviceScriptedAnimations(double monotonicAnimationStartTime); 951 void serviceScriptedAnimations(double monotonicAnimationStartTime);
953 952
954 virtual EventTarget* errorEventTarget() override final; 953 virtual EventTarget* errorEventTarget() override final;
955 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawP tr<ScriptCallStack>) override final; 954 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawP tr<ScriptCallStack>) override final;
956 955
957 void initDNSPrefetch(); 956 void initDNSPrefetch();
958 957
959 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } 958 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; }
960 959
961 IntSize initialViewportSize() const;
962
963 TextAutosizer* textAutosizer(); 960 TextAutosizer* textAutosizer();
964 961
965 PassRefPtrWillBeRawPtr<Element> createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionState&); 962 PassRefPtrWillBeRawPtr<Element> createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionState&);
966 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac eURI, const AtomicString& qualifiedName, const AtomicString& typeExtension, Exce ptionState&); 963 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac eURI, const AtomicString& qualifiedName, const AtomicString& typeExtension, Exce ptionState&);
967 ScriptValue registerElement(ScriptState*, const AtomicString& name, Exceptio nState&);
968 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El ementRegistrationOptions&, ExceptionState&, CustomElement::NameSet validNames = CustomElement::StandardNames); 964 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El ementRegistrationOptions&, ExceptionState&, CustomElement::NameSet validNames = CustomElement::StandardNames);
969 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); } 965 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); }
970 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); 966 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
971 967
972 void setImportsController(HTMLImportsController*); 968 void setImportsController(HTMLImportsController*);
973 HTMLImportsController* importsController() const { return m_importsControlle r; } 969 HTMLImportsController* importsController() const { return m_importsControlle r; }
974 HTMLImportLoader* importLoader() const; 970 HTMLImportLoader* importLoader() const;
975 971
976 bool haveImportsLoaded() const; 972 bool haveImportsLoaded() const;
977 void didLoadAllImports(); 973 void didLoadAllImports();
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1426 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1431 1427
1432 } // namespace blink 1428 } // namespace blink
1433 1429
1434 #ifndef NDEBUG 1430 #ifndef NDEBUG
1435 // Outside the WebCore namespace for ease of invocation from gdb. 1431 // Outside the WebCore namespace for ease of invocation from gdb.
1436 void showLiveDocumentInstances(); 1432 void showLiveDocumentInstances();
1437 #endif 1433 #endif
1438 1434
1439 #endif // Document_h 1435 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/dom/DOMImplementation.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698