| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1172 | 1172 |
| 1173 PepperPluginDelegateImpl pepper_delegate_; | 1173 PepperPluginDelegateImpl pepper_delegate_; |
| 1174 | 1174 |
| 1175 #if defined(OS_MACOSX) | 1175 #if defined(OS_MACOSX) |
| 1176 // All the currently active plugin delegates for this RenderView; kept so that | 1176 // All the currently active plugin delegates for this RenderView; kept so that |
| 1177 // we can enumerate them to send updates about things like window location | 1177 // we can enumerate them to send updates about things like window location |
| 1178 // or tab focus and visibily. These are non-owning references. | 1178 // or tab focus and visibily. These are non-owning references. |
| 1179 std::set<WebPluginDelegateProxy*> plugin_delegates_; | 1179 std::set<WebPluginDelegateProxy*> plugin_delegates_; |
| 1180 #endif | 1180 #endif |
| 1181 | 1181 |
| 1182 // A list of all pepper plugins that we've created that haven't been | 1182 // A list of all Pepper v1 plugins that we've created that haven't been |
| 1183 // destroyed yet. | 1183 // destroyed yet. Pepper v2 plugins are tracked by the pepper_delegate_. |
| 1184 std::set<WebPluginDelegatePepper*> current_pepper_plugins_; | 1184 std::set<WebPluginDelegatePepper*> current_oldstyle_pepper_plugins_; |
| 1185 | 1185 |
| 1186 // Helper objects ------------------------------------------------------------ | 1186 // Helper objects ------------------------------------------------------------ |
| 1187 | 1187 |
| 1188 FormManager form_manager_; | 1188 FormManager form_manager_; |
| 1189 | 1189 |
| 1190 ScopedRunnableMethodFactory<RenderView> method_factory_; | 1190 ScopedRunnableMethodFactory<RenderView> method_factory_; |
| 1191 | 1191 |
| 1192 // Responsible for translating the page contents to other languages. | 1192 // Responsible for translating the page contents to other languages. |
| 1193 TranslateHelper translate_helper_; | 1193 TranslateHelper translate_helper_; |
| 1194 | 1194 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1276 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1276 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1277 // sections rather than throwing it randomly at the end. If you're adding a | 1277 // sections rather than throwing it randomly at the end. If you're adding a |
| 1278 // bunch of stuff, you should probably create a helper class and put your | 1278 // bunch of stuff, you should probably create a helper class and put your |
| 1279 // data and methods on that to avoid bloating RenderView more. | 1279 // data and methods on that to avoid bloating RenderView more. |
| 1280 // --------------------------------------------------------------------------- | 1280 // --------------------------------------------------------------------------- |
| 1281 | 1281 |
| 1282 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1282 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1283 }; | 1283 }; |
| 1284 | 1284 |
| 1285 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1285 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |