| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 // The current plugin geometry and clip rectangle. | 262 // The current plugin geometry and clip rectangle. |
| 263 gfx::Rect window_rect_; | 263 gfx::Rect window_rect_; |
| 264 gfx::Rect clip_rect_; | 264 gfx::Rect clip_rect_; |
| 265 | 265 |
| 266 // The mime type of the plugin. | 266 // The mime type of the plugin. |
| 267 std::string mime_type_; | 267 std::string mime_type_; |
| 268 | 268 |
| 269 // Holds the list of argument names and values passed to the plugin. We keep | 269 // Holds the list of argument names and values passed to the plugin. We keep |
| 270 // these so that we can re-initialize the plugin if we need to. | 270 // these so that we can re-initialize the plugin if we need to. |
| 271 char** arg_names_; | 271 std::vector<std::string> arg_names_; |
| 272 char** arg_values_; | 272 std::vector<std::string> arg_values_; |
| 273 size_t arg_count_; | |
| 274 | 273 |
| 275 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; | 274 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; |
| 276 | 275 |
| 277 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 276 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 278 }; | 277 }; |
| 279 | 278 |
| 280 } // namespace webkit_glue | 279 } // namespace webkit_glue |
| 281 | 280 |
| 282 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 281 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |