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_BROWSER_BROWSER_PPAPI_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
| 7 |
| 8 namespace ppapi { |
| 9 namespace host { |
| 10 class PpapiHost; |
| 11 } |
| 12 } |
| 13 |
| 14 namespace content { |
| 15 |
| 16 // Interface that allows components in the embedder app to talk to the |
| 17 // PpapiHost in the browser process. |
| 18 // |
| 19 // There will be one of these objects in the browser per plugin process. It |
| 20 // lives entirely on the I/O thread. |
| 21 class BrowserPpapiHost { |
| 22 public: |
| 23 // Returns the PpapiHost object. |
| 24 virtual ppapi::host::PpapiHost* GetPpapiHost() = 0; |
| 25 |
| 26 protected: |
| 27 virtual ~BrowserPpapiHost() {} |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
OLD | NEW |