| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1260 PepperPluginSet active_pepper_instances_; | 1260 PepperPluginSet active_pepper_instances_; |
| 1261 | 1261 |
| 1262 // Whether or not the focus is on a PPAPI plugin | 1262 // Whether or not the focus is on a PPAPI plugin |
| 1263 PepperPluginInstanceImpl* focused_pepper_plugin_; | 1263 PepperPluginInstanceImpl* focused_pepper_plugin_; |
| 1264 | 1264 |
| 1265 // The plugin instance that received the last mouse event. It is set to NULL | 1265 // The plugin instance that received the last mouse event. It is set to NULL |
| 1266 // if the last mouse event went to elements other than Pepper plugins. | 1266 // if the last mouse event went to elements other than Pepper plugins. |
| 1267 // |pepper_last_mouse_event_target_| is not owned by this class. We depend on | 1267 // |pepper_last_mouse_event_target_| is not owned by this class. We depend on |
| 1268 // the RenderFrameImpl to NULL it out when it destructs. | 1268 // the RenderFrameImpl to NULL it out when it destructs. |
| 1269 PepperPluginInstanceImpl* pepper_last_mouse_event_target_; | 1269 PepperPluginInstanceImpl* pepper_last_mouse_event_target_; |
| 1270 | |
| 1271 // TODO(lfg): Temporary to help debug issue https://crbug.com/638400. | |
| 1272 bool is_plugin_initializing_; | |
| 1273 #endif | 1270 #endif |
| 1274 | 1271 |
| 1275 mojo::Binding<mojom::Frame> frame_binding_; | 1272 mojo::Binding<mojom::Frame> frame_binding_; |
| 1276 mojom::FrameHostPtr frame_host_; | 1273 mojom::FrameHostPtr frame_host_; |
| 1277 | 1274 |
| 1278 // Indicates whether |didAccessInitialDocument| was called. | 1275 // Indicates whether |didAccessInitialDocument| was called. |
| 1279 bool has_accessed_initial_document_; | 1276 bool has_accessed_initial_document_; |
| 1280 | 1277 |
| 1281 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1278 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1282 | 1279 |
| 1283 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1280 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1284 }; | 1281 }; |
| 1285 | 1282 |
| 1286 } // namespace content | 1283 } // namespace content |
| 1287 | 1284 |
| 1288 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1285 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |