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_H_ | 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ |
6 #define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ | 6 #define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "ui/gl/gpu_preference.h" | 9 #include "ui/gl/gpu_preference.h" |
11 #include "webkit/plugins/npapi/webplugin_accelerated_surface_mac.h" | 10 #include "webkit/plugins/npapi/webplugin_accelerated_surface_mac.h" |
12 | 11 |
13 class WebPluginProxy; | 12 class WebPluginProxy; |
14 class AcceleratedSurface; | 13 class AcceleratedSurface; |
15 | 14 |
16 // Out-of-process implementation of WebPluginAcceleratedSurface that proxies | 15 // Out-of-process implementation of WebPluginAcceleratedSurface that proxies |
17 // calls through a WebPluginProxy. | 16 // calls through a WebPluginProxy. |
(...skipping 24 matching lines...) Expand all Loading... |
42 | 41 |
43 WebPluginProxy* plugin_proxy_; // Weak ref. | 42 WebPluginProxy* plugin_proxy_; // Weak ref. |
44 gfx::PluginWindowHandle window_handle_; | 43 gfx::PluginWindowHandle window_handle_; |
45 AcceleratedSurface* surface_; | 44 AcceleratedSurface* surface_; |
46 bool composited_; | 45 bool composited_; |
47 | 46 |
48 DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy); | 47 DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy); |
49 }; | 48 }; |
50 | 49 |
51 #endif // CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ | 50 #endif // CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ |
OLD | NEW |