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_PPP_PRIVATE_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PPP_PRIVATE_H_ |
6 #define WEBKIT_GLUE_PLUGINS_PPP_PRIVATE_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PPP_PRIVATE_H_ |
7 | 7 |
8 #include "third_party/ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
9 #include "third_party/ppapi/c/pp_point.h" | 9 #include "ppapi/c/pp_point.h" |
10 #include "third_party/ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
11 | 11 |
12 #define PPP_PRIVATE_INTERFACE "PPP_Private;1" | 12 #define PPP_PRIVATE_INTERFACE "PPP_Private;1" |
13 | 13 |
14 struct PPP_Private { | 14 struct PPP_Private { |
15 // Returns an absolute URL if the position is over a link. | 15 // Returns an absolute URL if the position is over a link. |
16 PP_Var (*GetLinkAtPosition)(PP_Instance instance, | 16 PP_Var (*GetLinkAtPosition)(PP_Instance instance, |
17 PP_Point point); | 17 PP_Point point); |
18 }; | 18 }; |
19 | 19 |
20 #endif // WEBKIT_GLUE_PLUGINS_PPP_PRIVATE_H_ | 20 #endif // WEBKIT_GLUE_PLUGINS_PPP_PRIVATE_H_ |
OLD | NEW |