| OLD | NEW |
| 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) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "core/html/HTMLObjectElement.h" | 50 #include "core/html/HTMLObjectElement.h" |
| 51 #include "core/html/RadioNodeList.h" | 51 #include "core/html/RadioNodeList.h" |
| 52 #include "core/html/forms/FormController.h" | 52 #include "core/html/forms/FormController.h" |
| 53 #include "core/inspector/ConsoleMessage.h" | 53 #include "core/inspector/ConsoleMessage.h" |
| 54 #include "core/layout/LayoutObject.h" | 54 #include "core/layout/LayoutObject.h" |
| 55 #include "core/loader/FormSubmission.h" | 55 #include "core/loader/FormSubmission.h" |
| 56 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
| 57 #include "core/loader/MixedContentChecker.h" | 57 #include "core/loader/MixedContentChecker.h" |
| 58 #include "core/loader/NavigationScheduler.h" | 58 #include "core/loader/NavigationScheduler.h" |
| 59 #include "platform/UserGestureIndicator.h" | 59 #include "platform/UserGestureIndicator.h" |
| 60 #include "platform/wtf/AutoReset.h" |
| 61 #include "platform/wtf/text/AtomicString.h" |
| 60 #include "public/platform/WebInsecureRequestPolicy.h" | 62 #include "public/platform/WebInsecureRequestPolicy.h" |
| 61 #include "wtf/AutoReset.h" | |
| 62 #include "wtf/text/AtomicString.h" | |
| 63 | 63 |
| 64 namespace blink { | 64 namespace blink { |
| 65 | 65 |
| 66 using namespace HTMLNames; | 66 using namespace HTMLNames; |
| 67 | 67 |
| 68 HTMLFormElement::HTMLFormElement(Document& document) | 68 HTMLFormElement::HTMLFormElement(Document& document) |
| 69 : HTMLElement(formTag, document), | 69 : HTMLElement(formTag, document), |
| 70 listed_elements_are_dirty_(false), | 70 listed_elements_are_dirty_(false), |
| 71 image_elements_are_dirty_(false), | 71 image_elements_are_dirty_(false), |
| 72 has_elements_associated_by_parser_(false), | 72 has_elements_associated_by_parser_(false), |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 for (const auto& control : ListedElements()) { | 842 for (const auto& control : ListedElements()) { |
| 843 if (!control->IsFormControlElement()) | 843 if (!control->IsFormControlElement()) |
| 844 continue; | 844 continue; |
| 845 if (ToHTMLFormControlElement(control)->CanBeSuccessfulSubmitButton()) | 845 if (ToHTMLFormControlElement(control)->CanBeSuccessfulSubmitButton()) |
| 846 ToHTMLFormControlElement(control)->PseudoStateChanged( | 846 ToHTMLFormControlElement(control)->PseudoStateChanged( |
| 847 CSSSelector::kPseudoDefault); | 847 CSSSelector::kPseudoDefault); |
| 848 } | 848 } |
| 849 } | 849 } |
| 850 | 850 |
| 851 } // namespace blink | 851 } // namespace blink |
| OLD | NEW |