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

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

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: With the new attach approach Created 6 years, 4 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_delegate.h
diff --git a/content/public/renderer/browser_plugin_delegate.h b/content/public/renderer/browser_plugin_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..e04bfb61b3349dad799423035c7e02c9c54823c6
--- /dev/null
+++ b/content/public/renderer/browser_plugin_delegate.h
@@ -0,0 +1,25 @@
+#ifndef CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_
+#define CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_
+
+#include <string>
+
+#include "content/common/content_export.h"
+
+namespace content {
+
+// Maybe BrowserPluginLoadObserver?
+class CONTENT_EXPORT BrowserPluginDelegate {
+ public:
+ BrowserPluginDelegate(int routing_id,
+ int browser_plugin_element_id,
+ const std::string& mime_type) {}
+ virtual ~BrowserPluginDelegate() {}
+
+ virtual void DidFinishLoading(const std::string& html_string) = 0;
+
+ private:
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698