| 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 CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 init_data_; // Cleared upon successful initialization. | 93 init_data_; // Cleared upon successful initialization. |
| 94 // True if the instance represents the entire document in a frame instead of | 94 // True if the instance represents the entire document in a frame instead of |
| 95 // being an embedded resource. | 95 // being an embedded resource. |
| 96 bool full_frame_; | 96 bool full_frame_; |
| 97 std::unique_ptr<PluginInstanceThrottlerImpl> throttler_; | 97 std::unique_ptr<PluginInstanceThrottlerImpl> throttler_; |
| 98 scoped_refptr<PepperPluginInstanceImpl> instance_; | 98 scoped_refptr<PepperPluginInstanceImpl> instance_; |
| 99 gfx::Rect plugin_rect_; | 99 gfx::Rect plugin_rect_; |
| 100 PP_Var instance_object_; | 100 PP_Var instance_object_; |
| 101 blink::WebPluginContainer* container_; | 101 blink::WebPluginContainer* container_; |
| 102 | 102 |
| 103 // TODO(tommycli): Remove once we fix https://crbug.com/588624. | |
| 104 bool destroyed_; | |
| 105 | |
| 106 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 103 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
| 107 }; | 104 }; |
| 108 | 105 |
| 109 } // namespace content | 106 } // namespace content |
| 110 | 107 |
| 111 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 108 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |