| 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, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. |
| 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "core/html/HTMLButtonElement.h" | 26 #include "core/html/HTMLButtonElement.h" |
| 27 | 27 |
| 28 #include "core/HTMLNames.h" | 28 #include "core/HTMLNames.h" |
| 29 #include "core/dom/Attribute.h" | 29 #include "core/dom/Attribute.h" |
| 30 #include "core/events/KeyboardEvent.h" | 30 #include "core/events/KeyboardEvent.h" |
| 31 #include "core/html/FormData.h" | 31 #include "core/html/FormData.h" |
| 32 #include "core/html/HTMLFormElement.h" | 32 #include "core/html/HTMLFormElement.h" |
| 33 #include "core/layout/LayoutButton.h" | 33 #include "core/layout/LayoutButton.h" |
| 34 #include "wtf/StdLibExtras.h" | 34 #include "platform/wtf/StdLibExtras.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 using namespace HTMLNames; | 38 using namespace HTMLNames; |
| 39 | 39 |
| 40 inline HTMLButtonElement::HTMLButtonElement(Document& document) | 40 inline HTMLButtonElement::HTMLButtonElement(Document& document) |
| 41 : HTMLFormControlElement(buttonTag, document), | 41 : HTMLFormControlElement(buttonTag, document), |
| 42 type_(SUBMIT), | 42 type_(SUBMIT), |
| 43 is_activated_submit_(false) {} | 43 is_activated_submit_(false) {} |
| 44 | 44 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 Node::InsertionNotificationRequest HTMLButtonElement::InsertedInto( | 209 Node::InsertionNotificationRequest HTMLButtonElement::InsertedInto( |
| 210 ContainerNode* insertion_point) { | 210 ContainerNode* insertion_point) { |
| 211 InsertionNotificationRequest request = | 211 InsertionNotificationRequest request = |
| 212 HTMLFormControlElement::InsertedInto(insertion_point); | 212 HTMLFormControlElement::InsertedInto(insertion_point); |
| 213 LogAddElementIfIsolatedWorldAndInDocument("button", typeAttr, formmethodAttr, | 213 LogAddElementIfIsolatedWorldAndInDocument("button", typeAttr, formmethodAttr, |
| 214 formactionAttr); | 214 formactionAttr); |
| 215 return request; | 215 return request; |
| 216 } | 216 } |
| 217 | 217 |
| 218 } // namespace blink | 218 } // namespace blink |
| OLD | NEW |