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

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

Issue 311033003: Implementing mixed content for forms posting to insecure location from secure ones (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Housekeeping a boolean that is not needed any more. Created 6 years, 6 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) 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 DEFINE_ATTRIBUTE_EVENT_LISTENER(autocomplete); 111 DEFINE_ATTRIBUTE_EVENT_LISTENER(autocomplete);
112 DEFINE_ATTRIBUTE_EVENT_LISTENER(autocompleteerror); 112 DEFINE_ATTRIBUTE_EVENT_LISTENER(autocompleteerror);
113 113
114 RadioButtonGroupScope& radioButtonGroupScope() { return m_radioButtonGroupSc ope; } 114 RadioButtonGroupScope& radioButtonGroupScope() { return m_radioButtonGroupSc ope; }
115 115
116 const FormAssociatedElement::List& associatedElements() const; 116 const FormAssociatedElement::List& associatedElements() const;
117 const WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement> >& imageElements (); 117 const WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement> >& imageElements ();
118 118
119 void anonymousNamedGetter(const AtomicString& name, bool&, RefPtrWillBeRawPt r<RadioNodeList>&, bool&, RefPtrWillBeRawPtr<Element>&); 119 void anonymousNamedGetter(const AtomicString& name, bool&, RefPtrWillBeRawPt r<RadioNodeList>&, bool&, RefPtrWillBeRawPtr<Element>&);
120 120
121 protected:
122 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att ributeModificationReason = ModifiedDirectly) OVERRIDE;
123
121 private: 124 private:
122 explicit HTMLFormElement(Document&); 125 explicit HTMLFormElement(Document&);
123 126
124 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 127 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
125 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 128 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
126 virtual void removedFrom(ContainerNode*) OVERRIDE; 129 virtual void removedFrom(ContainerNode*) OVERRIDE;
127 virtual void finishParsingChildren() OVERRIDE; 130 virtual void finishParsingChildren() OVERRIDE;
128 131
129 virtual void handleLocalEvents(Event*) OVERRIDE; 132 virtual void handleLocalEvents(Event*) OVERRIDE;
130 133
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 bool m_hasElementsAssociatedByParser; 178 bool m_hasElementsAssociatedByParser;
176 bool m_didFinishParsingChildren; 179 bool m_didFinishParsingChildren;
177 180
178 bool m_wasUserSubmitted; 181 bool m_wasUserSubmitted;
179 182
180 bool m_isInResetFunction; 183 bool m_isInResetFunction;
181 184
182 bool m_wasDemoted; 185 bool m_wasDemoted;
183 186
184 OwnPtr<GenericEventQueue> m_pendingAutocompleteEventsQueue; 187 OwnPtr<GenericEventQueue> m_pendingAutocompleteEventsQueue;
188
189 KURL getActionURL() const
Mike West 2014/06/06 12:18:18 We're only using this in the method you introduced
mhm 2014/06/06 19:11:59 Done.
190 {
191 return document().completeURL(m_attributes.action().isEmpty() ? document ().url().string() : m_attributes.action());
Mike West 2014/06/06 12:18:18 Why convert the document's URL into a string, and
mhm 2014/06/06 19:11:59 Done.
192 }
185 }; 193 };
186 194
187 } // namespace WebCore 195 } // namespace WebCore
188 196
189 #endif // HTMLFormElement_h 197 #endif // HTMLFormElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698