OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROXY_H_ | 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 bool use_shm_pixmap_; | 269 bool use_shm_pixmap_; |
270 // The SHM pixmaps for windowless plugin painting. | 270 // The SHM pixmaps for windowless plugin painting. |
271 XID windowless_shm_pixmaps_[2]; | 271 XID windowless_shm_pixmaps_[2]; |
272 #endif | 272 #endif |
273 | 273 |
274 #endif | 274 #endif |
275 | 275 |
276 // Contains the routing id of the host render view. | 276 // Contains the routing id of the host render view. |
277 int host_render_view_routing_id_; | 277 int host_render_view_routing_id_; |
278 | 278 |
279 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 279 base::WeakPtrFactory<WebPluginProxy> weak_factory_; |
280 }; | 280 }; |
281 | 281 |
282 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 282 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
OLD | NEW |