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

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

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments Created 6 years, 1 month 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/html/CollectionIndexCache.h ('k') | Source/core/html/HTMLAllCollection.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, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual bool tooLong() const; 83 virtual bool tooLong() const;
84 virtual bool tooShort() const; 84 virtual bool tooShort() const;
85 virtual bool typeMismatch() const; 85 virtual bool typeMismatch() const;
86 virtual bool valueMissing() const; 86 virtual bool valueMissing() const;
87 virtual String validationMessage() const; 87 virtual String validationMessage() const;
88 bool valid() const; 88 bool valid() const;
89 virtual void setCustomValidity(const String&); 89 virtual void setCustomValidity(const String&);
90 90
91 void formAttributeTargetChanged(); 91 void formAttributeTargetChanged();
92 92
93 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement> > List; 93 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List;
94 94
95 protected: 95 protected:
96 FormAssociatedElement(); 96 FormAssociatedElement();
97 97
98 virtual void trace(Visitor*); 98 virtual void trace(Visitor*);
99 void insertedInto(ContainerNode*); 99 void insertedInto(ContainerNode*);
100 void removedFrom(ContainerNode*); 100 void removedFrom(ContainerNode*);
101 void didMoveToNewDocument(Document& oldDocument); 101 void didMoveToNewDocument(Document& oldDocument);
102 102
103 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and 103 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 }; 139 };
140 140
141 HTMLElement* toHTMLElement(FormAssociatedElement*); 141 HTMLElement* toHTMLElement(FormAssociatedElement*);
142 HTMLElement& toHTMLElement(FormAssociatedElement&); 142 HTMLElement& toHTMLElement(FormAssociatedElement&);
143 const HTMLElement* toHTMLElement(const FormAssociatedElement*); 143 const HTMLElement* toHTMLElement(const FormAssociatedElement*);
144 const HTMLElement& toHTMLElement(const FormAssociatedElement&); 144 const HTMLElement& toHTMLElement(const FormAssociatedElement&);
145 145
146 } // namespace 146 } // namespace
147 147
148 #endif // FormAssociatedElement_h 148 #endif // FormAssociatedElement_h
OLDNEW
« no previous file with comments | « Source/core/html/CollectionIndexCache.h ('k') | Source/core/html/HTMLAllCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698