| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 175 |
| 176 // These hold the bitmap of the background image. | 176 // These hold the bitmap of the background image. |
| 177 ScopedHandle background_shared_section_; | 177 ScopedHandle background_shared_section_; |
| 178 ScopedBitmap background_bitmap_; | 178 ScopedBitmap background_bitmap_; |
| 179 ScopedHDC background_hdc_; | 179 ScopedHDC background_hdc_; |
| 180 #elif defined(OS_MACOSX) | 180 #elif defined(OS_MACOSX) |
| 181 scoped_ptr<TransportDIB> windowless_dib_; | 181 scoped_ptr<TransportDIB> windowless_dib_; |
| 182 scoped_ptr<TransportDIB> background_dib_; | 182 scoped_ptr<TransportDIB> background_dib_; |
| 183 scoped_cftyperef<CGContextRef> windowless_context_; | 183 scoped_cftyperef<CGContextRef> windowless_context_; |
| 184 scoped_cftyperef<CGContextRef> background_context_; | 184 scoped_cftyperef<CGContextRef> background_context_; |
| 185 #elif defined(OS_LINUX) |
| 186 scoped_ptr<TransportDIB> windowless_dib_; |
| 187 scoped_ptr<TransportDIB> background_dib_; |
| 188 scoped_ptr<skia::PlatformCanvas> windowless_canvas_; |
| 189 scoped_ptr<skia::PlatformCanvas> background_canvas_; |
| 185 #endif | 190 #endif |
| 186 | 191 |
| 187 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 192 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 188 }; | 193 }; |
| 189 | 194 |
| 190 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 195 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
| OLD | NEW |