OLD | NEW |
1 // Copyright (c) 2010 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 WEBKIT_PLUGINS_PEPPER_PPB_FLASH_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ |
6 #define WEBKIT_PLUGINS_PEPPER_PPB_FLASH_H_ | 6 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ |
7 | 7 |
8 #ifdef _WIN32 | 8 #ifdef _WIN32 |
9 #include <windows.h> | 9 #include <windows.h> |
10 #endif | 10 #endif |
11 | 11 |
12 #include "ppapi/c/pp_errors.h" | 12 #include "ppapi/c/pp_errors.h" |
13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
14 #include "ppapi/c/pp_module.h" | 14 #include "ppapi/c/pp_module.h" |
15 #include "ppapi/c/pp_point.h" | 15 #include "ppapi/c/pp_point.h" |
16 #include "ppapi/c/pp_rect.h" | 16 #include "ppapi/c/pp_rect.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 PP_DirContents_Dev* contents); | 107 PP_DirContents_Dev* contents); |
108 | 108 |
109 // Navigate to URL. May open a new tab if target is not "_self". Return true | 109 // Navigate to URL. May open a new tab if target is not "_self". Return true |
110 // if success. This differs from javascript:window.open() in that it bypasses | 110 // if success. This differs from javascript:window.open() in that it bypasses |
111 // the popup blocker, even when this is not called from an event handler. | 111 // the popup blocker, even when this is not called from an event handler. |
112 bool (*NavigateToURL)(PP_Instance instance, | 112 bool (*NavigateToURL)(PP_Instance instance, |
113 const char* url, | 113 const char* url, |
114 const char* target); | 114 const char* target); |
115 }; | 115 }; |
116 | 116 |
117 #endif // WEBKIT_GLUE_PLUGINS_PPB_FLASH_H_ | 117 #endif // PPAPI_C_PRIVATE_PPB_FLASH_H_ |
OLD | NEW |