| 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_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_ | 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_ |
| 6 #define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_ | 6 #define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "content/child/npapi/webplugin_accelerated_surface_mac.h" | 10 #include "content/child/npapi/webplugin_accelerated_surface_mac.h" |
| 10 #include "ui/gl/gpu_preference.h" | 11 #include "ui/gl/gpu_preference.h" |
| 11 | 12 |
| 12 class AcceleratedSurface; | 13 class AcceleratedSurface; |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 class WebPluginProxy; | 16 class WebPluginProxy; |
| 16 | 17 |
| 17 // Out-of-process implementation of WebPluginAcceleratedSurface that proxies | 18 // Out-of-process implementation of WebPluginAcceleratedSurface that proxies |
| 18 // calls through a WebPluginProxy. | 19 // calls through a WebPluginProxy. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 | 40 |
| 40 WebPluginProxy* plugin_proxy_; // Weak ref. | 41 WebPluginProxy* plugin_proxy_; // Weak ref. |
| 41 AcceleratedSurface* surface_; | 42 AcceleratedSurface* surface_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy); | 44 DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace content | 47 } // namespace content |
| 47 | 48 |
| 48 #endif // CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_ | 49 #endif // CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_ |
| OLD | NEW |