From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/plugins/DOMPluginArray.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'Source/WebCore/plugins/DOMPluginArray.h') diff --git a/Source/WebCore/plugins/DOMPluginArray.h b/Source/WebCore/plugins/DOMPluginArray.h index 447c3cfb1..9b803fdea 100644 --- a/Source/WebCore/plugins/DOMPluginArray.h +++ b/Source/WebCore/plugins/DOMPluginArray.h @@ -18,16 +18,12 @@ Boston, MA 02110-1301, USA. */ -#ifndef DOMPluginArray_h -#define DOMPluginArray_h +#pragma once #include "DOMPlugin.h" #include "DOMWindowProperty.h" #include "ScriptWrappable.h" -#include -#include #include -#include namespace WebCore { @@ -36,15 +32,15 @@ class PluginData; class DOMPluginArray : public ScriptWrappable, public RefCounted, public DOMWindowProperty { public: - static PassRefPtr create(Frame* frame) { return adoptRef(new DOMPluginArray(frame)); } + static Ref create(Frame* frame) { return adoptRef(*new DOMPluginArray(frame)); } ~DOMPluginArray(); unsigned length() const; - PassRefPtr item(unsigned index); - bool canGetItemsForName(const AtomicString& propertyName); - PassRefPtr namedItem(const AtomicString& propertyName); + RefPtr item(unsigned index); + RefPtr namedItem(const AtomicString& propertyName); + Vector supportedPropertyNames(); - void refresh(bool reload); + void refresh(bool reloadPages); private: explicit DOMPluginArray(Frame*); @@ -52,5 +48,3 @@ private: }; } // namespace WebCore - -#endif // PluginArray_h -- cgit v1.2.1