summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
Diffstat (limited to 'content/public')
-rw-r--r--content/public/plugin/content_plugin_client.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/content/public/plugin/content_plugin_client.h b/content/public/plugin/content_plugin_client.h
new file mode 100644
index 0000000..346765a
--- /dev/null
+++ b/content/public/plugin/content_plugin_client.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 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_PLUGIN_CONTENT_PLUGIN_CLIENT_H_
+#define CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_
+#pragma once
+
+#include "base/string16.h"
+#include "content/common/content_client.h"
+
+namespace content {
+
+// Embedder API for participating in plugin logic.
+class ContentPluginClient {
+ public:
+ // Notifies that a plugin process has started.
+ virtual void PluginProcessStarted(const string16& plugin_name) = 0;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_
+