Index: content/public/renderer/browser_plugin/browser_plugin.h |
diff --git a/content/public/renderer/browser_plugin/browser_plugin.h b/content/public/renderer/browser_plugin/browser_plugin.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0d720f9c5082abec2ebd283f96389b1b0bd29bcf |
--- /dev/null |
+++ b/content/public/renderer/browser_plugin/browser_plugin.h |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2012 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 CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
+#define CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
+ |
+#include "content/common/content_export.h" |
+#include "ipc/ipc_sender.h" |
+ |
+namespace content { |
+ |
+class BrowserPluginMethodBinding; |
+class BrowserPluginPropertyBinding; |
+ |
+class CONTENT_EXPORT BrowserPlugin : public IPC::Sender { |
+ public: |
+ virtual ~BrowserPlugin() {} |
+ |
+ virtual void AddMethodBinding(BrowserPluginMethodBinding* method_binding) = 0; |
sadrul
2013/01/09 15:21:54
doc the methods, and comment on ownership/lifetime
Fady Samuel
2013/01/09 17:41:24
Done.
|
+ |
+ virtual void AddPropertyBinding( |
+ BrowserPluginPropertyBinding* property_binding) = 0; |
+ |
+ virtual void RequestMessage(uint32 message_id) = 0; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |