| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Public for FrameView::addWidgetToUpdate() | 56 // Public for FrameView::addWidgetToUpdate() |
| 57 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } | 57 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } |
| 58 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } | 58 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } |
| 59 void updateWidget(); | 59 void updateWidget(); |
| 60 | 60 |
| 61 bool shouldAccelerate() const; | 61 bool shouldAccelerate() const; |
| 62 | 62 |
| 63 void requestPluginCreationWithoutRendererIfPossible(); | 63 void requestPluginCreationWithoutRendererIfPossible(); |
| 64 void createPluginWithoutRenderer(); | 64 void createPluginWithoutRenderer(); |
| 65 | 65 |
| 66 bool usePlaceholderContent() { return m_usePlaceholderContent; } | 66 bool usePlaceholderContent() const { return m_usePlaceholderContent; } |
| 67 void setUsePlaceholderContent(bool); | 67 void setUsePlaceholderContent(bool); |
| 68 | 68 |
| 69 protected: | 69 protected: |
| 70 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); | 70 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); |
| 71 | 71 |
| 72 // Node functions: | 72 // Node functions: |
| 73 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 73 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
| 74 | 74 |
| 75 // Element functions: | 75 // Element functions: |
| 76 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 76 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 inline bool isHTMLPlugInElement(const HTMLElement& element) | 149 inline bool isHTMLPlugInElement(const HTMLElement& element) |
| 150 { | 150 { |
| 151 return element.isPluginElement(); | 151 return element.isPluginElement(); |
| 152 } | 152 } |
| 153 | 153 |
| 154 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 154 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
| 155 | 155 |
| 156 } // namespace blink | 156 } // namespace blink |
| 157 | 157 |
| 158 #endif // HTMLPlugInElement_h | 158 #endif // HTMLPlugInElement_h |
| OLD | NEW |