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 CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ | 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ |
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ | 6 #define CONTENT_CHILD_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/geometry/rect.h" |
12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
13 #include "ui/gfx/rect.h" | |
14 #include "ui/gl/gpu_preference.h" | 14 #include "ui/gl/gpu_preference.h" |
15 | 15 |
16 // TODO(port): this typedef is obviously incorrect on non-Windows | 16 // TODO(port): this typedef is obviously incorrect on non-Windows |
17 // platforms, but now a lot of code now accidentally depends on them | 17 // platforms, but now a lot of code now accidentally depends on them |
18 // existing. #ifdef out these declarations and fix all the users. | 18 // existing. #ifdef out these declarations and fix all the users. |
19 typedef void* HANDLE; | 19 typedef void* HANDLE; |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 struct NPObject; | 22 struct NPObject; |
23 | 23 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 virtual void AcceleratedPluginAllocatedIOSurface(int32 width, | 139 virtual void AcceleratedPluginAllocatedIOSurface(int32 width, |
140 int32 height, | 140 int32 height, |
141 uint32 surface_id) = 0; | 141 uint32 surface_id) = 0; |
142 virtual void AcceleratedPluginSwappedIOSurface() = 0; | 142 virtual void AcceleratedPluginSwappedIOSurface() = 0; |
143 #endif | 143 #endif |
144 }; | 144 }; |
145 | 145 |
146 } // namespace content | 146 } // namespace content |
147 | 147 |
148 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ | 148 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ |
OLD | NEW |