Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: third_party/WebKit/Source/core/plugins/PluginClient.h

Issue 2719333002: second stage
Patch Set: Need to get around resource loading without web/ Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/Source/core/plugins/BUILD.gn ('k') | third_party/WebKit/Source/core/plugins/PluginClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698