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 26 matching lines...) Expand all Loading... |
37 #include "core/events/Event.h" | 37 #include "core/events/Event.h" |
38 #include "core/events/ScopedEventQueue.h" | 38 #include "core/events/ScopedEventQueue.h" |
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/HTMLTableElement.h" | 45 #include "core/html/HTMLTableElement.h" |
46 #include "core/html/forms/FormController.h" | 46 #include "core/html/forms/FormController.h" |
47 #include "core/loader/FormState.h" | |
48 #include "core/loader/FrameLoader.h" | 47 #include "core/loader/FrameLoader.h" |
49 #include "core/loader/FrameLoaderClient.h" | 48 #include "core/loader/FrameLoaderClient.h" |
50 #include "core/frame/ContentSecurityPolicy.h" | 49 #include "core/frame/ContentSecurityPolicy.h" |
51 #include "core/frame/DOMWindow.h" | 50 #include "core/frame/DOMWindow.h" |
52 #include "core/frame/Frame.h" | 51 #include "core/frame/Frame.h" |
53 #include "core/frame/UseCounter.h" | 52 #include "core/frame/UseCounter.h" |
54 #include "core/rendering/RenderTextControl.h" | 53 #include "core/rendering/RenderTextControl.h" |
55 #include "platform/UserGestureIndicator.h" | 54 #include "platform/UserGestureIndicator.h" |
56 | 55 |
57 using namespace std; | 56 using namespace std; |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 } | 820 } |
822 | 821 |
823 void HTMLFormElement::setDemoted(bool demoted) | 822 void HTMLFormElement::setDemoted(bool demoted) |
824 { | 823 { |
825 if (demoted) | 824 if (demoted) |
826 UseCounter::count(document(), UseCounter::DemotedFormElement); | 825 UseCounter::count(document(), UseCounter::DemotedFormElement); |
827 m_wasDemoted = demoted; | 826 m_wasDemoted = demoted; |
828 } | 827 } |
829 | 828 |
830 } // namespace | 829 } // namespace |
OLD | NEW |