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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "core/html/HTMLObjectElement.h" | 48 #include "core/html/HTMLObjectElement.h" |
49 #include "core/html/RadioNodeList.h" | 49 #include "core/html/RadioNodeList.h" |
50 #include "core/html/forms/FormController.h" | 50 #include "core/html/forms/FormController.h" |
51 #include "core/loader/FrameLoader.h" | 51 #include "core/loader/FrameLoader.h" |
52 #include "core/loader/FrameLoaderClient.h" | 52 #include "core/loader/FrameLoaderClient.h" |
53 #include "core/loader/MixedContentChecker.h" | 53 #include "core/loader/MixedContentChecker.h" |
54 #include "core/rendering/RenderTextControl.h" | 54 #include "core/rendering/RenderTextControl.h" |
55 #include "platform/UserGestureIndicator.h" | 55 #include "platform/UserGestureIndicator.h" |
56 #include "wtf/text/AtomicString.h" | 56 #include "wtf/text/AtomicString.h" |
57 | 57 |
58 using namespace std; | |
59 | |
60 namespace WebCore { | 58 namespace WebCore { |
61 | 59 |
62 using namespace HTMLNames; | 60 using namespace HTMLNames; |
63 | 61 |
64 HTMLFormElement::HTMLFormElement(Document& document) | 62 HTMLFormElement::HTMLFormElement(Document& document) |
65 : HTMLElement(formTag, document) | 63 : HTMLElement(formTag, document) |
66 #if !ENABLE(OILPAN) | 64 #if !ENABLE(OILPAN) |
67 , m_weakPtrFactory(this) | 65 , m_weakPtrFactory(this) |
68 #endif | 66 #endif |
69 , m_associatedElementsAreDirty(false) | 67 , m_associatedElementsAreDirty(false) |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 } | 797 } |
800 | 798 |
801 void HTMLFormElement::setDemoted(bool demoted) | 799 void HTMLFormElement::setDemoted(bool demoted) |
802 { | 800 { |
803 if (demoted) | 801 if (demoted) |
804 UseCounter::count(document(), UseCounter::DemotedFormElement); | 802 UseCounter::count(document(), UseCounter::DemotedFormElement); |
805 m_wasDemoted = demoted; | 803 m_wasDemoted = demoted; |
806 } | 804 } |
807 | 805 |
808 } // namespace | 806 } // namespace |
OLD | NEW |