| 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv
ed. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 KURL m_loadedUrl; | 97 KURL m_loadedUrl; |
| 98 Member<HTMLImageLoader> m_imageLoader; | 98 Member<HTMLImageLoader> m_imageLoader; |
| 99 bool m_isDelayingLoadEvent; | 99 bool m_isDelayingLoadEvent; |
| 100 | 100 |
| 101 private: | 101 private: |
| 102 // EventTarget functions: | 102 // EventTarget functions: |
| 103 void removeAllEventListeners() final; | 103 void removeAllEventListeners() final; |
| 104 | 104 |
| 105 // Node functions: | 105 // Node functions: |
| 106 bool canContainRangeEndPoint() const override { return false; } | 106 bool canContainRangeEndPoint() const override { return false; } |
| 107 bool canStartSelection() const override; |
| 107 bool willRespondToMouseClickEvents() final; | 108 bool willRespondToMouseClickEvents() final; |
| 108 void defaultEventHandler(Event*) final; | 109 void defaultEventHandler(Event*) final; |
| 109 void attach(const AttachContext& = AttachContext()) final; | 110 void attach(const AttachContext& = AttachContext()) final; |
| 110 void detach(const AttachContext& = AttachContext()) final; | 111 void detach(const AttachContext& = AttachContext()) final; |
| 111 void finishParsingChildren() final; | 112 void finishParsingChildren() final; |
| 112 | 113 |
| 113 // Element functions: | 114 // Element functions: |
| 114 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 115 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 115 bool supportsFocus() const final { return true; } | 116 bool supportsFocus() const final { return true; } |
| 116 bool layoutObjectIsFocusable() const final; | 117 bool layoutObjectIsFocusable() const final; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 inline bool isHTMLPlugInElement(const HTMLElement& element) | 152 inline bool isHTMLPlugInElement(const HTMLElement& element) |
| 152 { | 153 { |
| 153 return element.isPluginElement(); | 154 return element.isPluginElement(); |
| 154 } | 155 } |
| 155 | 156 |
| 156 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 157 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
| 157 | 158 |
| 158 } // namespace blink | 159 } // namespace blink |
| 159 | 160 |
| 160 #endif // HTMLPlugInElement_h | 161 #endif // HTMLPlugInElement_h |
| OLD | NEW |