Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | |
| 6 #define CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | |
| 7 | |
| 8 #include "content/common/content_export.h" | |
| 9 #include "ipc/ipc_sender.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 class BrowserPluginMethodBinding; | |
| 14 class BrowserPluginPropertyBinding; | |
| 15 | |
| 16 class CONTENT_EXPORT BrowserPlugin : public IPC::Sender { | |
| 17 public: | |
| 18 virtual ~BrowserPlugin() {} | |
| 19 | |
| 20 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.
| |
| 21 | |
| 22 virtual void AddPropertyBinding( | |
| 23 BrowserPluginPropertyBinding* property_binding) = 0; | |
| 24 | |
| 25 virtual void RequestMessage(uint32 message_id) = 0; | |
| 26 }; | |
| 27 | |
| 28 } // namespace content | |
| 29 | |
| 30 #endif // CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | |
| OLD | NEW |