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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class CORE_EXPORT FormAssociatedElement : public WillBeGarbageCollectedMixin { 43 class CORE_EXPORT FormAssociatedElement : public WillBeGarbageCollectedMixin {
44 public: 44 public:
45 virtual ~FormAssociatedElement(); 45 virtual ~FormAssociatedElement();
46 46
47 #if !ENABLE(OILPAN) 47 #if !ENABLE(OILPAN)
48 void ref() { refFormAssociatedElement(); } 48 void ref() { refFormAssociatedElement(); }
49 void deref() { derefFormAssociatedElement(); } 49 void deref() { derefFormAssociatedElement(); }
50 #endif 50 #endif
51 51
52 static HTMLFormElement* findAssociatedForm(const HTMLElement*); 52 static HTMLFormElement* findAssociatedForm(const HTMLElement*);
53 HTMLFormElement* form() const { return m_form.get(); } 53 HTMLFormElement* form() const;
54 ValidityState* validity(); 54 ValidityState* validity();
55 55
56 virtual bool isFormControlElement() const = 0; 56 virtual bool isFormControlElement() const = 0;
57 virtual bool isFormControlElementWithState() const; 57 virtual bool isFormControlElementWithState() const;
58 virtual bool isEnumeratable() const = 0; 58 virtual bool isEnumeratable() const = 0;
59 virtual bool isLabelElement() const { return false; } 59 virtual bool isLabelElement() const { return false; }
60 60
61 // Returns the 'name' attribute value. If this element has no name 61 // Returns the 'name' attribute value. If this element has no name
62 // attribute, it returns an empty string instead of null string. 62 // attribute, it returns an empty string instead of null string.
63 // Note that the 'name' IDL attribute doesn't use this function. 63 // Note that the 'name' IDL attribute doesn't use this function.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 }; 137 };
138 138
139 HTMLElement* toHTMLElement(FormAssociatedElement*); 139 HTMLElement* toHTMLElement(FormAssociatedElement*);
140 HTMLElement& toHTMLElement(FormAssociatedElement&); 140 HTMLElement& toHTMLElement(FormAssociatedElement&);
141 const HTMLElement* toHTMLElement(const FormAssociatedElement*); 141 const HTMLElement* toHTMLElement(const FormAssociatedElement*);
142 const HTMLElement& toHTMLElement(const FormAssociatedElement&); 142 const HTMLElement& toHTMLElement(const FormAssociatedElement&);
143 143
144 } // namespace 144 } // namespace
145 145
146 #endif // FormAssociatedElement_h 146 #endif // FormAssociatedElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.cpp ('k') | third_party/WebKit/Source/core/html/FormAssociatedElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698