| 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 WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 std::vector<ClientInfo> clients_; | 298 std::vector<ClientInfo> clients_; |
| 299 | 299 |
| 300 bool windowless_; | 300 bool windowless_; |
| 301 HWND window_; | 301 HWND window_; |
| 302 WebCore::Element* element_; | 302 WebCore::Element* element_; |
| 303 WebFrameImpl* webframe_; | 303 WebFrameImpl* webframe_; |
| 304 | 304 |
| 305 WebPluginDelegate* delegate_; | 305 WebPluginDelegate* delegate_; |
| 306 bool force_geometry_update_; | 306 bool force_geometry_update_; |
| 307 bool visible_; | 307 bool visible_; |
| 308 // Set when we receive the first paint notification for the plugin widget. | 308 // Set when we receive the first paint notification for a windowed |
| 309 // plugin widget. |
| 309 bool received_first_paint_notification_; | 310 bool received_first_paint_notification_; |
| 310 | 311 |
| 311 WebPluginContainer* widget_; | 312 WebPluginContainer* widget_; |
| 312 | 313 |
| 313 typedef std::map<WebPluginResourceClient*, MultipartResponseDelegate*> | 314 typedef std::map<WebPluginResourceClient*, MultipartResponseDelegate*> |
| 314 MultiPartResponseHandlerMap; | 315 MultiPartResponseHandlerMap; |
| 315 // Tracks HTTP multipart response handlers instantiated for | 316 // Tracks HTTP multipart response handlers instantiated for |
| 316 // a WebPluginResourceClient instance. | 317 // a WebPluginResourceClient instance. |
| 317 MultiPartResponseHandlerMap multi_part_response_map_; | 318 MultiPartResponseHandlerMap multi_part_response_map_; |
| 318 | 319 |
| 319 // The plugin source URL. | 320 // The plugin source URL. |
| 320 GURL plugin_url_; | 321 GURL plugin_url_; |
| 321 | 322 |
| 322 // Indicates if the download would be initiated by the plugin or us. | 323 // Indicates if the download would be initiated by the plugin or us. |
| 323 bool load_manually_; | 324 bool load_manually_; |
| 324 | 325 |
| 325 // Indicates if this is the first geometry update received by the plugin. | 326 // Indicates if this is the first geometry update received by the plugin. |
| 326 bool first_geometry_update_; | 327 bool first_geometry_update_; |
| 327 | 328 |
| 328 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 329 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 329 }; | 330 }; |
| 330 | 331 |
| 331 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 332 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |