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

Unified 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: Addressed reviewers comments, added counter for mixed content and made warning messages more develo… 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index d0db27f98514b7c8216f5a0b2486d84fbe103094..94694bd4e8d9c4d4161536ab4bb9b363fa72e0f0 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -118,6 +118,9 @@ public:
void anonymousNamedGetter(const AtomicString& name, bool&, RefPtrWillBeRawPtr<RadioNodeList>&, bool&, RefPtrWillBeRawPtr<Element>&);
+protected:
+ virtual void attributeChanged(const QualifiedName&, const AtomicString&, AttributeModificationReason = ModifiedDirectly) OVERRIDE;
+
private:
explicit HTMLFormElement(Document&);
@@ -181,7 +184,14 @@ private:
bool m_wasDemoted;
+ bool m_insecureSubmissionReported;
jww 2014/06/05 23:00:48 You seem to have added this back in. Can you remov
mhm 2014/06/05 23:07:06 Done.
+
OwnPtr<GenericEventQueue> m_pendingAutocompleteEventsQueue;
+
+ KURL getActionURL() const
+ {
+ return document().completeURL(m_attributes.action().isEmpty() ? document().url().string() : m_attributes.action());
+ }
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698