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 reserv
ed. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "core/frame/csp/ContentSecurityPolicy.h" | 41 #include "core/frame/csp/ContentSecurityPolicy.h" |
42 #include "core/html/HTMLCollection.h" | 42 #include "core/html/HTMLCollection.h" |
43 #include "core/html/HTMLDialogElement.h" | 43 #include "core/html/HTMLDialogElement.h" |
44 #include "core/html/HTMLFormControlsCollection.h" | 44 #include "core/html/HTMLFormControlsCollection.h" |
45 #include "core/html/HTMLImageElement.h" | 45 #include "core/html/HTMLImageElement.h" |
46 #include "core/html/HTMLInputElement.h" | 46 #include "core/html/HTMLInputElement.h" |
47 #include "core/html/HTMLObjectElement.h" | 47 #include "core/html/HTMLObjectElement.h" |
48 #include "core/html/RadioNodeList.h" | 48 #include "core/html/RadioNodeList.h" |
49 #include "core/html/forms/FormController.h" | 49 #include "core/html/forms/FormController.h" |
50 #include "core/inspector/ConsoleMessage.h" | 50 #include "core/inspector/ConsoleMessage.h" |
| 51 #include "core/layout/LayoutObject.h" |
51 #include "core/loader/FormSubmission.h" | 52 #include "core/loader/FormSubmission.h" |
52 #include "core/loader/FrameLoader.h" | 53 #include "core/loader/FrameLoader.h" |
53 #include "core/loader/FrameLoaderClient.h" | 54 #include "core/loader/FrameLoaderClient.h" |
54 #include "core/loader/MixedContentChecker.h" | 55 #include "core/loader/MixedContentChecker.h" |
55 #include "core/loader/NavigationScheduler.h" | 56 #include "core/loader/NavigationScheduler.h" |
56 #include "platform/UserGestureIndicator.h" | 57 #include "platform/UserGestureIndicator.h" |
57 #include "public/platform/WebInsecureRequestPolicy.h" | 58 #include "public/platform/WebInsecureRequestPolicy.h" |
58 #include "wtf/AutoReset.h" | 59 #include "wtf/AutoReset.h" |
59 #include "wtf/text/AtomicString.h" | 60 #include "wtf/text/AtomicString.h" |
60 #include <limits> | 61 #include <limits> |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 { | 800 { |
800 for (const auto& control : associatedElements()) { | 801 for (const auto& control : associatedElements()) { |
801 if (!control->isFormControlElement()) | 802 if (!control->isFormControlElement()) |
802 continue; | 803 continue; |
803 if (toHTMLFormControlElement(control)->canBeSuccessfulSubmitButton()) | 804 if (toHTMLFormControlElement(control)->canBeSuccessfulSubmitButton()) |
804 toHTMLFormControlElement(control)->pseudoStateChanged(CSSSelector::P
seudoDefault); | 805 toHTMLFormControlElement(control)->pseudoStateChanged(CSSSelector::P
seudoDefault); |
805 } | 806 } |
806 } | 807 } |
807 | 808 |
808 } // namespace blink | 809 } // namespace blink |
OLD | NEW |