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 // Returns the existing plugin widget, if there is one. | 56 // Returns the existing plugin widget, if there is one. |
57 Widget* existingPluginWidget() const; | 57 Widget* existingPluginWidget() const; |
58 | 58 |
59 // Returns the plugin widget, forcing layout and post-layout tasks | 59 // Returns the plugin widget, forcing layout and post-layout tasks |
60 // to happen synchronously (e.g. for JS bindings). | 60 // to happen synchronously (e.g. for JS bindings). |
61 // See also renderPartForJSBindings(). | 61 // See also renderPartForJSBindings(). |
62 Widget* pluginWidgetForJSBindings(); | 62 Widget* pluginWidgetForJSBindings(); |
63 | 63 |
64 SharedPersistent<v8::Object>* pluginWrapper(); | 64 SharedPersistent<v8::Object>* pluginWrapper(); |
65 NPObject* getNPObject(); | 65 NPObject* getNPObject(); |
| 66 void setPluginFocus(bool focused); |
66 bool canProcessDrag() const; | 67 bool canProcessDrag() const; |
67 const String& url() const { return m_url; } | 68 const String& url() const { return m_url; } |
68 | 69 |
69 // Public for FrameView::addPartToUpdate() | 70 // Public for FrameView::addPartToUpdate() |
70 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } | 71 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } |
71 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } | 72 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } |
72 void updateWidget(); | 73 void updateWidget(); |
73 | 74 |
74 bool shouldAccelerate() const; | 75 bool shouldAccelerate() const; |
75 | 76 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 inline bool isHTMLPlugInElement(const HTMLElement& element) | 167 inline bool isHTMLPlugInElement(const HTMLElement& element) |
167 { | 168 { |
168 return element.isPluginElement(); | 169 return element.isPluginElement(); |
169 } | 170 } |
170 | 171 |
171 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 172 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
172 | 173 |
173 } // namespace blink | 174 } // namespace blink |
174 | 175 |
175 #endif // HTMLPlugInElement_h | 176 #endif // HTMLPlugInElement_h |
OLD | NEW |