OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE_H_ |
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE_H_ |
7 | 7 |
8 #include "webkit/glue/plugins/pepper_resource.h" | 8 #include "webkit/glue/plugins/pepper_resource.h" |
9 | 9 |
10 typedef struct _ppb_Private PPB_Private; | 10 struct PPB_Private; |
11 | 11 |
12 namespace pepper { | 12 namespace pepper { |
13 | 13 |
14 class Private { | 14 class Private { |
15 public: | 15 public: |
16 // Returns a pointer to the interface implementing PPB_Private that is exposed | 16 // Returns a pointer to the interface implementing PPB_Private that is exposed |
17 // to the plugin. | 17 // to the plugin. |
18 static const PPB_Private* GetInterface(); | 18 static const PPB_Private* GetInterface(); |
19 }; | 19 }; |
20 | 20 |
21 } // namespace pepper | 21 } // namespace pepper |
22 | 22 |
23 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE_H_ | 23 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE_H_ |
OLD | NEW |