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

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

Issue 112843002: Make calls to AtomicString(const String&) explicit in dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added comments Created 6 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 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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const; 598 void showTreeAndMark(const Node* markedNode1, const char* markedLabel1, cons t Node* markedNode2 = 0, const char* markedLabel2 = 0) const;
599 void showTreeForThisAcrossFrame() const; 599 void showTreeForThisAcrossFrame() const;
600 #endif 600 #endif
601 601
602 void invalidateNodeListCachesInAncestors(const QualifiedName* attrName = 0, Element* attributeOwnerElement = 0); 602 void invalidateNodeListCachesInAncestors(const QualifiedName* attrName = 0, Element* attributeOwnerElement = 0);
603 NodeListsNodeData* nodeLists(); 603 NodeListsNodeData* nodeLists();
604 void clearNodeLists(); 604 void clearNodeLists();
605 605
606 PassRefPtr<NodeList> getElementsByTagName(const AtomicString&); 606 PassRefPtr<NodeList> getElementsByTagName(const AtomicString&);
607 PassRefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI , const AtomicString& localName); 607 PassRefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI , const AtomicString& localName);
608 PassRefPtr<NodeList> getElementsByName(const String& elementName); 608 PassRefPtr<NodeList> getElementsByName(const AtomicString& elementName);
609 PassRefPtr<NodeList> getElementsByClassName(const String& classNames); 609 PassRefPtr<NodeList> getElementsByClassName(const AtomicString& classNames);
610 PassRefPtr<RadioNodeList> radioNodeList(const AtomicString&, bool onlyMatchI mgElements = false); 610 PassRefPtr<RadioNodeList> radioNodeList(const AtomicString&, bool onlyMatchI mgElements = false);
611 611
612 virtual bool willRespondToMouseMoveEvents(); 612 virtual bool willRespondToMouseMoveEvents();
613 virtual bool willRespondToMouseClickEvents(); 613 virtual bool willRespondToMouseClickEvents();
614 virtual bool willRespondToTouchEvents(); 614 virtual bool willRespondToTouchEvents();
615 615
616 PassRefPtr<Element> querySelector(const AtomicString& selectors, ExceptionSt ate&); 616 PassRefPtr<Element> querySelector(const AtomicString& selectors, ExceptionSt ate&);
617 PassRefPtr<NodeList> querySelectorAll(const AtomicString& selectors, Excepti onState&); 617 PassRefPtr<NodeList> querySelectorAll(const AtomicString& selectors, Excepti onState&);
618 618
619 unsigned short compareDocumentPosition(const Node*) const; 619 unsigned short compareDocumentPosition(const Node*) const;
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 923
924 } // namespace WebCore 924 } // namespace WebCore
925 925
926 #ifndef NDEBUG 926 #ifndef NDEBUG
927 // Outside the WebCore namespace for ease of invocation from gdb. 927 // Outside the WebCore namespace for ease of invocation from gdb.
928 void showTree(const WebCore::Node*); 928 void showTree(const WebCore::Node*);
929 void showNodePath(const WebCore::Node*); 929 void showNodePath(const WebCore::Node*);
930 #endif 930 #endif
931 931
932 #endif 932 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698