| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 bool canProcessDrag() const; | 64 bool canProcessDrag() const; |
| 65 | 65 |
| 66 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 66 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
| 67 | 67 |
| 68 virtual bool isPlugInImageElement() const { return false; } | 68 virtual bool isPlugInImageElement() const { return false; } |
| 69 | 69 |
| 70 protected: | 70 protected: |
| 71 HTMLPlugInElement(const QualifiedName& tagName, Document*); | 71 HTMLPlugInElement(const QualifiedName& tagName, Document*); |
| 72 | 72 |
| 73 virtual void detach(); | 73 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
| 74 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 74 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 75 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 75 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
| 76 | 76 |
| 77 virtual bool useFallbackContent() const { return false; } | 77 virtual bool useFallbackContent() const { return false; } |
| 78 | 78 |
| 79 virtual bool dispatchBeforeLoadEvent(const String& sourceURL) OVERRIDE; | 79 virtual bool dispatchBeforeLoadEvent(const String& sourceURL) OVERRIDE; |
| 80 | 80 |
| 81 private: | 81 private: |
| 82 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } | 82 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } |
| 83 | 83 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 108 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isPluginElement()); | 108 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isPluginElement()); |
| 109 return static_cast<const HTMLPlugInElement*>(node); | 109 return static_cast<const HTMLPlugInElement*>(node); |
| 110 } | 110 } |
| 111 | 111 |
| 112 // This will catch anyone doing an unnecessary cast. | 112 // This will catch anyone doing an unnecessary cast. |
| 113 void toHTMLPlugInElement(const HTMLPlugInElement*); | 113 void toHTMLPlugInElement(const HTMLPlugInElement*); |
| 114 | 114 |
| 115 } // namespace WebCore | 115 } // namespace WebCore |
| 116 | 116 |
| 117 #endif // HTMLPlugInElement_h | 117 #endif // HTMLPlugInElement_h |
| OLD | NEW |