| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies) | 2 * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies) |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "config.h" | 21 #include "config.h" |
| 22 #include "HTMLSummaryElement.h" | 22 #include "HTMLSummaryElement.h" |
| 23 | 23 |
| 24 #include "DetailsMarkerControl.h" | 24 #include "DetailsMarkerControl.h" |
| 25 #include "HTMLContentElement.h" | 25 #include "HTMLContentElement.h" |
| 26 #include "HTMLDetailsElement.h" | 26 #include "HTMLDetailsElement.h" |
| 27 #include "HTMLNames.h" | 27 #include "HTMLNames.h" |
| 28 #include "KeyboardEvent.h" | 28 #include "KeyboardEvent.h" |
| 29 #include "MouseEvent.h" | 29 #include "MouseEvent.h" |
| 30 #include "NodeRenderingContext.h" | 30 #include "NodeRenderingContext.h" |
| 31 #include "PlatformMouseEvent.h" | |
| 32 #include "RenderBlock.h" | 31 #include "RenderBlock.h" |
| 33 #include "ShadowRoot.h" | 32 #include "ShadowRoot.h" |
| 33 #include "core/platform/PlatformMouseEvent.h" |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 using namespace HTMLNames; | 37 using namespace HTMLNames; |
| 38 | 38 |
| 39 PassRefPtr<HTMLSummaryElement> HTMLSummaryElement::create(const QualifiedName& t
agName, Document* document) | 39 PassRefPtr<HTMLSummaryElement> HTMLSummaryElement::create(const QualifiedName& t
agName, Document* document) |
| 40 { | 40 { |
| 41 RefPtr<HTMLSummaryElement> summary = adoptRef(new HTMLSummaryElement(tagName
, document)); | 41 RefPtr<HTMLSummaryElement> summary = adoptRef(new HTMLSummaryElement(tagName
, document)); |
| 42 summary->ensureUserAgentShadowRoot(); | 42 summary->ensureUserAgentShadowRoot(); |
| 43 return summary.release(); | 43 return summary.release(); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 bool HTMLSummaryElement::willRespondToMouseClickEvents() | 142 bool HTMLSummaryElement::willRespondToMouseClickEvents() |
| 143 { | 143 { |
| 144 if (isMainSummary() && renderer()) | 144 if (isMainSummary() && renderer()) |
| 145 return true; | 145 return true; |
| 146 | 146 |
| 147 return HTMLElement::willRespondToMouseClickEvents(); | 147 return HTMLElement::willRespondToMouseClickEvents(); |
| 148 } | 148 } |
| 149 | 149 |
| 150 } | 150 } |
| OLD | NEW |