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 28 matching lines...) Expand all Loading... |
39 #include "core/events/ThreadLocalEventNames.h" | 39 #include "core/events/ThreadLocalEventNames.h" |
40 #include "core/html/HTMLCollection.h" | 40 #include "core/html/HTMLCollection.h" |
41 #include "core/html/HTMLDialogElement.h" | 41 #include "core/html/HTMLDialogElement.h" |
42 #include "core/html/HTMLImageElement.h" | 42 #include "core/html/HTMLImageElement.h" |
43 #include "core/html/HTMLInputElement.h" | 43 #include "core/html/HTMLInputElement.h" |
44 #include "core/html/HTMLObjectElement.h" | 44 #include "core/html/HTMLObjectElement.h" |
45 #include "core/html/RadioNodeList.h" | 45 #include "core/html/RadioNodeList.h" |
46 #include "core/html/forms/FormController.h" | 46 #include "core/html/forms/FormController.h" |
47 #include "core/loader/FrameLoader.h" | 47 #include "core/loader/FrameLoader.h" |
48 #include "core/loader/FrameLoaderClient.h" | 48 #include "core/loader/FrameLoaderClient.h" |
49 #include "core/frame/ContentSecurityPolicy.h" | |
50 #include "core/frame/DOMWindow.h" | 49 #include "core/frame/DOMWindow.h" |
51 #include "core/frame/LocalFrame.h" | 50 #include "core/frame/LocalFrame.h" |
52 #include "core/frame/UseCounter.h" | 51 #include "core/frame/UseCounter.h" |
| 52 #include "core/frame/csp/ContentSecurityPolicy.h" |
53 #include "core/rendering/RenderTextControl.h" | 53 #include "core/rendering/RenderTextControl.h" |
54 #include "platform/UserGestureIndicator.h" | 54 #include "platform/UserGestureIndicator.h" |
55 | 55 |
56 using namespace std; | 56 using namespace std; |
57 | 57 |
58 namespace WebCore { | 58 namespace WebCore { |
59 | 59 |
60 using namespace HTMLNames; | 60 using namespace HTMLNames; |
61 | 61 |
62 HTMLFormElement::HTMLFormElement(Document& document) | 62 HTMLFormElement::HTMLFormElement(Document& document) |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 } | 816 } |
817 | 817 |
818 void HTMLFormElement::setDemoted(bool demoted) | 818 void HTMLFormElement::setDemoted(bool demoted) |
819 { | 819 { |
820 if (demoted) | 820 if (demoted) |
821 UseCounter::count(document(), UseCounter::DemotedFormElement); | 821 UseCounter::count(document(), UseCounter::DemotedFormElement); |
822 m_wasDemoted = demoted; | 822 m_wasDemoted = demoted; |
823 } | 823 } |
824 | 824 |
825 } // namespace | 825 } // namespace |
OLD | NEW |