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

Side by Side Diff: Source/core/html/HTMLLabelElement.h

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/HTMLLabelElement.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) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 21 matching lines...) Expand all
32 32
33 class HTMLLabelElement final : public HTMLElement, public FormAssociatedElement { 33 class HTMLLabelElement final : public HTMLElement, public FormAssociatedElement {
34 DEFINE_WRAPPERTYPEINFO(); 34 DEFINE_WRAPPERTYPEINFO();
35 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLLabelElement); 35 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLLabelElement);
36 public: 36 public:
37 static PassRefPtrWillBeRawPtr<HTMLLabelElement> create(Document&, HTMLFormEl ement*); 37 static PassRefPtrWillBeRawPtr<HTMLLabelElement> create(Document&, HTMLFormEl ement*);
38 LabelableElement* control() const; 38 LabelableElement* control() const;
39 39
40 virtual bool willRespondToMouseClickEvents() override; 40 virtual bool willRespondToMouseClickEvents() override;
41 41
42 virtual void trace(Visitor*) override; 42 DECLARE_VIRTUAL_TRACE();
43 43
44 virtual HTMLFormElement* formOwner() const override; 44 virtual HTMLFormElement* formOwner() const override;
45 45
46 46
47 #if !ENABLE(OILPAN) 47 #if !ENABLE(OILPAN)
48 using Node::ref; 48 using Node::ref;
49 using Node::deref; 49 using Node::deref;
50 #endif 50 #endif
51 51
52 private: 52 private:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 { 102 {
103 const HTMLLabelElement& labelElement = static_cast<const HTMLLabelElement&>( element); 103 const HTMLLabelElement& labelElement = static_cast<const HTMLLabelElement&>( element);
104 // FormAssociatedElement doesn't have hasTagName, hence check for assert. 104 // FormAssociatedElement doesn't have hasTagName, hence check for assert.
105 ASSERT_WITH_SECURITY_IMPLICATION(labelElement.hasTagName(HTMLNames::labelTag )); 105 ASSERT_WITH_SECURITY_IMPLICATION(labelElement.hasTagName(HTMLNames::labelTag ));
106 return labelElement; 106 return labelElement;
107 } 107 }
108 108
109 } // namespace blink 109 } // namespace blink
110 110
111 #endif // HTMLLabelElement_h 111 #endif // HTMLLabelElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/HTMLLabelElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698