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

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

Issue 442343002: Creating custom element should not be case sensitive (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 years, 4 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
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 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 void registerVisibilityObserver(DocumentVisibilityObserver*); 1040 void registerVisibilityObserver(DocumentVisibilityObserver*);
1041 void unregisterVisibilityObserver(DocumentVisibilityObserver*); 1041 void unregisterVisibilityObserver(DocumentVisibilityObserver*);
1042 1042
1043 void updateStyleInvalidationIfNeeded(); 1043 void updateStyleInvalidationIfNeeded();
1044 1044
1045 virtual void trace(Visitor*) OVERRIDE; 1045 virtual void trace(Visitor*) OVERRIDE;
1046 1046
1047 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate SVGFilterElements.size(); } 1047 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate SVGFilterElements.size(); }
1048 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; } 1048 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; }
1049 1049
1050 AtomicString convertLocalName(const AtomicString&);
1051
1050 protected: 1052 protected:
1051 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); 1053 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
1052 1054
1053 virtual void didUpdateSecurityOrigin() OVERRIDE FINAL; 1055 virtual void didUpdateSecurityOrigin() OVERRIDE FINAL;
1054 1056
1055 void clearXMLVersion() { m_xmlVersion = String(); } 1057 void clearXMLVersion() { m_xmlVersion = String(); }
1056 1058
1057 #if !ENABLE(OILPAN) 1059 #if !ENABLE(OILPAN)
1058 virtual void dispose() OVERRIDE; 1060 virtual void dispose() OVERRIDE;
1059 #endif 1061 #endif
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 Node* eventTargetNodeForDocument(Document*); 1423 Node* eventTargetNodeForDocument(Document*);
1422 1424
1423 } // namespace blink 1425 } // namespace blink
1424 1426
1425 #ifndef NDEBUG 1427 #ifndef NDEBUG
1426 // Outside the WebCore namespace for ease of invocation from gdb. 1428 // Outside the WebCore namespace for ease of invocation from gdb.
1427 void showLiveDocumentInstances(); 1429 void showLiveDocumentInstances();
1428 #endif 1430 #endif
1429 1431
1430 #endif // Document_h 1432 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/custom/custom-element-name-sensivity-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698