| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 5 #ifndef CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
| 6 #define CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 6 #define CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 // These hold the bitmap of the background image. | 182 // These hold the bitmap of the background image. |
| 183 ScopedHandle background_shared_section_; | 183 ScopedHandle background_shared_section_; |
| 184 ScopedBitmap background_bitmap_; | 184 ScopedBitmap background_bitmap_; |
| 185 ScopedHDC background_hdc_; | 185 ScopedHDC background_hdc_; |
| 186 #elif defined(OS_MACOSX) | 186 #elif defined(OS_MACOSX) |
| 187 scoped_ptr<TransportDIB> windowless_dib_; | 187 scoped_ptr<TransportDIB> windowless_dib_; |
| 188 scoped_ptr<TransportDIB> background_dib_; | 188 scoped_ptr<TransportDIB> background_dib_; |
| 189 scoped_cftyperef<CGContextRef> windowless_context_; | 189 scoped_cftyperef<CGContextRef> windowless_context_; |
| 190 scoped_cftyperef<CGContextRef> background_context_; | 190 scoped_cftyperef<CGContextRef> background_context_; |
| 191 #elif defined(OS_LINUX) | 191 #elif defined(USE_X11) |
| 192 scoped_ptr<TransportDIB> windowless_dib_; | 192 scoped_ptr<TransportDIB> windowless_dib_; |
| 193 scoped_ptr<TransportDIB> background_dib_; | 193 scoped_ptr<TransportDIB> background_dib_; |
| 194 scoped_ptr<skia::PlatformCanvas> windowless_canvas_; | 194 scoped_ptr<skia::PlatformCanvas> windowless_canvas_; |
| 195 scoped_ptr<skia::PlatformCanvas> background_canvas_; | 195 scoped_ptr<skia::PlatformCanvas> background_canvas_; |
| 196 #endif | 196 #endif |
| 197 | 197 |
| 198 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 198 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 201 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
| OLD | NEW |