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

Unified Diff: content/public/renderer/browser_plugin/browser_plugin.h

Issue 11826005: Browser Plugin: Implement BrowserPluginObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: 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_

Powered by Google App Engine
This is Rietveld 408576698