OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/gfx/gl/gpu_preference.h" | |
13 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
| 14 #include "ui/gl/gpu_preference.h" |
15 #include "webkit/plugins/webkit_plugins_export.h" | 15 #include "webkit/plugins/webkit_plugins_export.h" |
16 | 16 |
17 // TODO(port): this typedef is obviously incorrect on non-Windows | 17 // TODO(port): this typedef is obviously incorrect on non-Windows |
18 // platforms, but now a lot of code now accidentally depends on them | 18 // platforms, but now a lot of code now accidentally depends on them |
19 // existing. #ifdef out these declarations and fix all the users. | 19 // existing. #ifdef out these declarations and fix all the users. |
20 typedef void* HANDLE; | 20 typedef void* HANDLE; |
21 | 21 |
22 class GURL; | 22 class GURL; |
23 struct NPObject; | 23 struct NPObject; |
24 | 24 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 virtual void DidFinishLoading() = 0; | 189 virtual void DidFinishLoading() = 0; |
190 virtual void DidFail() = 0; | 190 virtual void DidFail() = 0; |
191 virtual bool IsMultiByteResponseExpected() = 0; | 191 virtual bool IsMultiByteResponseExpected() = 0; |
192 virtual int ResourceId() = 0; | 192 virtual int ResourceId() = 0; |
193 }; | 193 }; |
194 | 194 |
195 } // namespace npapi | 195 } // namespace npapi |
196 } // namespace webkit | 196 } // namespace webkit |
197 | 197 |
198 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ | 198 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ |
OLD | NEW |