OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_WEBPLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ |
6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ | 6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // The following two methods are for use in implementing Pepper renderers. | 130 // The following two methods are for use in implementing Pepper renderers. |
131 // They should not be called outside of that context. | 131 // They should not be called outside of that context. |
132 virtual NPError InitializeRenderContext(NPRenderType type, | 132 virtual NPError InitializeRenderContext(NPRenderType type, |
133 NPRenderContext* context) { | 133 NPRenderContext* context) { |
134 return NPERR_GENERIC_ERROR; | 134 return NPERR_GENERIC_ERROR; |
135 } | 135 } |
136 | 136 |
137 virtual NPError FlushRenderContext(NPRenderContext* context) { | 137 virtual NPError FlushRenderContext(NPRenderContext* context) { |
138 return NPERR_GENERIC_ERROR; | 138 return NPERR_GENERIC_ERROR; |
139 } | 139 } |
| 140 |
| 141 virtual NPError OpenFileInSandbox(const char* file_name, void** handle) { |
| 142 return NPERR_GENERIC_ERROR; |
| 143 } |
140 }; | 144 }; |
141 | 145 |
142 } // namespace webkit_glue | 146 } // namespace webkit_glue |
143 | 147 |
144 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ | 148 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ |
OLD | NEW |