| Index: third_party/WebKit/Source/core/plugins/PluginClient.h
|
| diff --git a/third_party/WebKit/Source/core/plugins/PluginClient.h b/third_party/WebKit/Source/core/plugins/PluginClient.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ccc782172ac051c6e88e875b2b5c0d2322136ae1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/plugins/PluginClient.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef PluginClient_h
|
| +#define PluginClient_h
|
| +
|
| +#include <v8.h>
|
| +#include "core/CoreExport.h"
|
| +#include "platform/heap/Handle.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class HTMLPlugInElement;
|
| +
|
| +class CORE_EXPORT PluginClient
|
| + : public GarbageCollectedFinalized<PluginClient> {
|
| + public:
|
| + virtual ~PluginClient();
|
| +
|
| + virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*);
|
| +
|
| + HTMLPlugInElement* htmlPlugInElement() { return m_htmlPluginElement.get(); }
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| + protected:
|
| + explicit PluginClient(HTMLPlugInElement*);
|
| +
|
| + private:
|
| + Member<HTMLPlugInElement> m_htmlPluginElement;
|
| +};
|
| +} // namespace blink
|
| +
|
| +#endif // PluginClient_h
|
|
|