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 29 matching lines...) Expand all Loading... |
40 #include "core/frame/csp/ContentSecurityPolicy.h" | 40 #include "core/frame/csp/ContentSecurityPolicy.h" |
41 #include "core/html/HTMLCollection.h" | 41 #include "core/html/HTMLCollection.h" |
42 #include "core/html/HTMLDialogElement.h" | 42 #include "core/html/HTMLDialogElement.h" |
43 #include "core/html/HTMLFormControlsCollection.h" | 43 #include "core/html/HTMLFormControlsCollection.h" |
44 #include "core/html/HTMLImageElement.h" | 44 #include "core/html/HTMLImageElement.h" |
45 #include "core/html/HTMLInputElement.h" | 45 #include "core/html/HTMLInputElement.h" |
46 #include "core/html/HTMLObjectElement.h" | 46 #include "core/html/HTMLObjectElement.h" |
47 #include "core/html/RadioNodeList.h" | 47 #include "core/html/RadioNodeList.h" |
48 #include "core/html/forms/FormController.h" | 48 #include "core/html/forms/FormController.h" |
49 #include "core/inspector/ConsoleMessage.h" | 49 #include "core/inspector/ConsoleMessage.h" |
50 #include "core/layout/LayoutTextControl.h" | |
51 #include "core/loader/FrameLoader.h" | 50 #include "core/loader/FrameLoader.h" |
52 #include "core/loader/FrameLoaderClient.h" | 51 #include "core/loader/FrameLoaderClient.h" |
53 #include "core/loader/MixedContentChecker.h" | 52 #include "core/loader/MixedContentChecker.h" |
54 #include "core/loader/NavigationScheduler.h" | 53 #include "core/loader/NavigationScheduler.h" |
55 #include "platform/UserGestureIndicator.h" | 54 #include "platform/UserGestureIndicator.h" |
56 #include "wtf/text/AtomicString.h" | 55 #include "wtf/text/AtomicString.h" |
57 #include <limits> | 56 #include <limits> |
58 | 57 |
59 namespace blink { | 58 namespace blink { |
60 | 59 |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 { | 772 { |
774 for (const auto& control : associatedElements()) { | 773 for (const auto& control : associatedElements()) { |
775 if (!control->isFormControlElement()) | 774 if (!control->isFormControlElement()) |
776 continue; | 775 continue; |
777 if (toHTMLFormControlElement(control)->canBeSuccessfulSubmitButton()) | 776 if (toHTMLFormControlElement(control)->canBeSuccessfulSubmitButton()) |
778 toHTMLFormControlElement(control)->pseudoStateChanged(CSSSelector::P
seudoDefault); | 777 toHTMLFormControlElement(control)->pseudoStateChanged(CSSSelector::P
seudoDefault); |
779 } | 778 } |
780 } | 779 } |
781 | 780 |
782 } // namespace blink | 781 } // namespace blink |
OLD | NEW |