OLD | NEW |
1 // Copyright (c) 2011 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_NPAPI_WEBPLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "third_party/WebKit/public/platform/WebCanvas.h" | 13 #include "third_party/WebKit/public/platform/WebCanvas.h" |
14 #include "third_party/npapi/bindings/npapi.h" | 14 #include "third_party/npapi/bindings/npapi.h" |
15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
16 #include "webkit/common/cursors/webcursor.h" | 16 #include "webkit/common/cursors/webcursor.h" |
17 #include "webkit/plugins/webkit_plugins_export.h" | 17 #include "webkit/plugins/webkit_plugins_export.h" |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 struct NPObject; | 20 struct NPObject; |
21 | 21 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // Creates a WebPluginResourceClient instance for an existing stream that is | 130 // Creates a WebPluginResourceClient instance for an existing stream that is |
131 // has become seekable. | 131 // has become seekable. |
132 virtual WebPluginResourceClient* CreateSeekableResourceClient( | 132 virtual WebPluginResourceClient* CreateSeekableResourceClient( |
133 unsigned long resource_id, int range_request_id) = 0; | 133 unsigned long resource_id, int range_request_id) = 0; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace npapi | 136 } // namespace npapi |
137 } // namespace webkit | 137 } // namespace webkit |
138 | 138 |
139 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ | 139 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ |
OLD | NEW |