OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_BROWSER_PPAPI_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "content/public/browser/render_view_host.h" | 11 #include "content/public/browser/render_view_host.h" |
12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace IPC { | 15 namespace IPC { |
16 class ChannelProxy; | 16 class ChannelProxy; |
17 struct ChannelHandle; | |
18 class Sender; | 17 class Sender; |
19 } | 18 } |
20 | 19 |
21 namespace ppapi { | 20 namespace ppapi { |
22 class PpapiPermissions; | 21 class PpapiPermissions; |
23 namespace host { | 22 namespace host { |
24 class PpapiHost; | 23 class PpapiHost; |
25 } | 24 } |
26 } | 25 } |
27 | 26 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual GURL GetPluginURLForInstance(PP_Instance instance) = 0; | 93 virtual GURL GetPluginURLForInstance(PP_Instance instance) = 0; |
95 | 94 |
96 // Sets a callback the BrowserPpapiHost will run when the plugin messages | 95 // Sets a callback the BrowserPpapiHost will run when the plugin messages |
97 // that it is active. | 96 // that it is active. |
98 virtual void SetOnKeepaliveCallback(const OnKeepaliveCallback& callback) = 0; | 97 virtual void SetOnKeepaliveCallback(const OnKeepaliveCallback& callback) = 0; |
99 }; | 98 }; |
100 | 99 |
101 } // namespace content | 100 } // namespace content |
102 | 101 |
103 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ | 102 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
OLD | NEW |