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_PLUGINS_NPAPI_WEBPLUGIN_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
13 #include "gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
14 | 14 |
15 // TODO(port): this typedef is obviously incorrect on non-Windows | 15 // TODO(port): this typedef is obviously incorrect on non-Windows |
16 // platforms, but now a lot of code now accidentally depends on them | 16 // platforms, but now a lot of code now accidentally depends on them |
17 // existing. #ifdef out these declarations and fix all the users. | 17 // existing. #ifdef out these declarations and fix all the users. |
18 typedef void* HANDLE; | 18 typedef void* HANDLE; |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 struct NPObject; | 21 struct NPObject; |
22 | 22 |
23 namespace WebKit { | 23 namespace WebKit { |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 virtual void DidFinishLoading() = 0; | 196 virtual void DidFinishLoading() = 0; |
197 virtual void DidFail() = 0; | 197 virtual void DidFail() = 0; |
198 virtual bool IsMultiByteResponseExpected() = 0; | 198 virtual bool IsMultiByteResponseExpected() = 0; |
199 virtual int ResourceId() = 0; | 199 virtual int ResourceId() = 0; |
200 }; | 200 }; |
201 | 201 |
202 } // namespace npapi | 202 } // namespace npapi |
203 } // namespace webkit | 203 } // namespace webkit |
204 | 204 |
205 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ | 205 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ |
OLD | NEW |