| 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 13 matching lines...) Expand all Loading... |
| 24 #include "core/html/HTMLElement.h" | 24 #include "core/html/HTMLElement.h" |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 | 27 |
| 28 class HTMLDetailsElement; | 28 class HTMLDetailsElement; |
| 29 | 29 |
| 30 class HTMLSummaryElement final : public HTMLElement { | 30 class HTMLSummaryElement final : public HTMLElement { |
| 31 public: | 31 public: |
| 32 static PassRefPtrWillBeRawPtr<HTMLSummaryElement> create(Document&); | 32 static PassRefPtrWillBeRawPtr<HTMLSummaryElement> create(Document&); |
| 33 bool isMainSummary() const; | 33 bool isMainSummary() const; |
| 34 virtual bool willRespondToMouseClickEvents() override; | 34 bool willRespondToMouseClickEvents() override; |
| 35 | 35 |
| 36 Element* markerControl(); | 36 Element* markerControl(); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 explicit HTMLSummaryElement(Document&); | 39 explicit HTMLSummaryElement(Document&); |
| 40 | 40 |
| 41 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 41 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 42 virtual void defaultEventHandler(Event*) override; | 42 void defaultEventHandler(Event*) override; |
| 43 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; | 43 void didAddUserAgentShadowRoot(ShadowRoot&) override; |
| 44 HTMLDetailsElement* detailsElement() const; | 44 HTMLDetailsElement* detailsElement() const; |
| 45 | 45 |
| 46 virtual bool supportsFocus() const override; | 46 bool supportsFocus() const override; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } | 49 } |
| 50 | 50 |
| 51 #endif // HTMLSummaryElement_h | 51 #endif // HTMLSummaryElement_h |
| OLD | NEW |