| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 friend class base::DeleteHelper<WebPluginImpl>; | 89 friend class base::DeleteHelper<WebPluginImpl>; |
| 90 | 90 |
| 91 WEBKIT_PLUGINS_EXPORT virtual ~WebPluginImpl(); | 91 WEBKIT_PLUGINS_EXPORT virtual ~WebPluginImpl(); |
| 92 struct InitData; | 92 struct InitData; |
| 93 | 93 |
| 94 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization. | 94 scoped_ptr<InitData> init_data_; // Cleared upon successful initialization. |
| 95 // True if the instance represents the entire document in a frame instead of | 95 // True if the instance represents the entire document in a frame instead of |
| 96 // being an embedded resource. | 96 // being an embedded resource. |
| 97 bool full_frame_; | 97 bool full_frame_; |
| 98 scoped_refptr<PluginInstance> instance_; | 98 scoped_refptr<PluginInstance> instance_; |
| 99 scoped_refptr<PPB_URLLoader_Impl> document_loader_; | |
| 100 gfx::Rect plugin_rect_; | 99 gfx::Rect plugin_rect_; |
| 101 PP_Var instance_object_; | 100 PP_Var instance_object_; |
| 102 WebKit::WebPluginContainer* container_; | 101 WebKit::WebPluginContainer* container_; |
| 103 | 102 |
| 104 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 103 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 105 }; | 104 }; |
| 106 | 105 |
| 107 } // namespace ppapi | 106 } // namespace ppapi |
| 108 } // namespace webkit | 107 } // namespace webkit |
| 109 | 108 |
| 110 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ | 109 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |