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

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

Issue 182243002: Allow the implementation to return references instead of pointers to the bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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 | Annotate | Revision Log
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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved.
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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 void beginParsingChildren() { setIsFinishedParsingChildren(false); } 426 void beginParsingChildren() { setIsFinishedParsingChildren(false); }
427 427
428 PseudoElement* pseudoElement(PseudoId) const; 428 PseudoElement* pseudoElement(PseudoId) const;
429 RenderObject* pseudoElementRenderer(PseudoId) const; 429 RenderObject* pseudoElementRenderer(PseudoId) const;
430 430
431 virtual bool matchesReadOnlyPseudoClass() const { return false; } 431 virtual bool matchesReadOnlyPseudoClass() const { return false; }
432 virtual bool matchesReadWritePseudoClass() const { return false; } 432 virtual bool matchesReadWritePseudoClass() const { return false; }
433 bool matches(const String& selectors, ExceptionState&); 433 bool matches(const String& selectors, ExceptionState&);
434 virtual bool shouldAppearIndeterminate() const { return false; } 434 virtual bool shouldAppearIndeterminate() const { return false; }
435 435
436 DOMTokenList* classList(); 436 DOMTokenList& classList();
437 437
438 DOMStringMap* dataset(); 438 DOMStringMap& dataset();
439 439
440 virtual bool isMediaElement() const { return false; } 440 virtual bool isMediaElement() const { return false; }
441 441
442 #if ENABLE(INPUT_SPEECH) 442 #if ENABLE(INPUT_SPEECH)
443 virtual bool isInputFieldSpeechButtonElement() const { return false; } 443 virtual bool isInputFieldSpeechButtonElement() const { return false; }
444 #endif 444 #endif
445 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 445 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
446 virtual bool isDateTimeEditElement() const { return false; } 446 virtual bool isDateTimeEditElement() const { return false; }
447 virtual bool isDateTimeFieldElement() const { return false; } 447 virtual bool isDateTimeFieldElement() const { return false; }
448 virtual bool isPickerIndicatorElement() const { return false; } 448 virtual bool isPickerIndicatorElement() const { return false; }
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 } 859 }
860 860
861 inline bool isShadowHost(const Element* element) 861 inline bool isShadowHost(const Element* element)
862 { 862 {
863 return element && element->shadow(); 863 return element && element->shadow();
864 } 864 }
865 865
866 } // namespace 866 } // namespace
867 867
868 #endif 868 #endif
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestSpecialOperationsIdentifierRaisesException.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698