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/string16.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "third_party/npapi/bindings/npapi.h" | 13 #include "third_party/npapi/bindings/npapi.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCanvas.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCanvas.h" |
15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
16 | 16 |
17 class FilePath; | |
18 class GURL; | 17 class GURL; |
19 struct NPObject; | 18 struct NPObject; |
20 | 19 |
21 namespace WebKit { | 20 namespace WebKit { |
22 class WebInputEvent; | 21 class WebInputEvent; |
23 struct WebCursorInfo; | 22 struct WebCursorInfo; |
24 } | 23 } |
25 | 24 |
26 namespace gfx { | 25 namespace gfx { |
27 class Rect; | 26 class Rect; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // Creates a WebPluginResourceClient instance for an existing stream that is | 126 // Creates a WebPluginResourceClient instance for an existing stream that is |
128 // has become seekable. | 127 // has become seekable. |
129 virtual WebPluginResourceClient* CreateSeekableResourceClient( | 128 virtual WebPluginResourceClient* CreateSeekableResourceClient( |
130 unsigned long resource_id, int range_request_id) = 0; | 129 unsigned long resource_id, int range_request_id) = 0; |
131 }; | 130 }; |
132 | 131 |
133 } // namespace npapi | 132 } // namespace npapi |
134 } // namespace webkit | 133 } // namespace webkit |
135 | 134 |
136 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ | 135 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_ |
OLD | NEW |