OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ |
6 #define CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ | 6 #define CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/string16.h" | 8 #include "base/string16.h" |
10 #include "content/public/common/content_client.h" | 9 #include "content/public/common/content_client.h" |
11 | 10 |
12 namespace content { | 11 namespace content { |
13 | 12 |
14 // Embedder API for participating in plugin logic. | 13 // Embedder API for participating in plugin logic. |
15 class CONTENT_EXPORT ContentPluginClient { | 14 class CONTENT_EXPORT ContentPluginClient { |
16 public: | 15 public: |
17 virtual ~ContentPluginClient() {} | 16 virtual ~ContentPluginClient() {} |
18 | 17 |
19 // Notifies that a plugin process has started. | 18 // Notifies that a plugin process has started. |
20 virtual void PluginProcessStarted(const string16& plugin_name) {} | 19 virtual void PluginProcessStarted(const string16& plugin_name) {} |
21 }; | 20 }; |
22 | 21 |
23 } // namespace content | 22 } // namespace content |
24 | 23 |
25 #endif // CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ | 24 #endif // CONTENT_PUBLIC_PLUGIN_CONTENT_PLUGIN_CLIENT_H_ |
OLD | NEW |