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 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 // The plugin instance that received the last mouse event. It is set to NULL | 1266 // The plugin instance that received the last mouse event. It is set to NULL |
1267 // if the last mouse event went to elements other than Pepper plugins. | 1267 // if the last mouse event went to elements other than Pepper plugins. |
1268 // |pepper_last_mouse_event_target_| is not owned by this class. We depend on | 1268 // |pepper_last_mouse_event_target_| is not owned by this class. We depend on |
1269 // the RenderFrameImpl to NULL it out when it destructs. | 1269 // the RenderFrameImpl to NULL it out when it destructs. |
1270 PepperPluginInstanceImpl* pepper_last_mouse_event_target_; | 1270 PepperPluginInstanceImpl* pepper_last_mouse_event_target_; |
1271 #endif | 1271 #endif |
1272 | 1272 |
1273 mojo::Binding<mojom::Frame> frame_binding_; | 1273 mojo::Binding<mojom::Frame> frame_binding_; |
1274 mojom::FrameHostPtr frame_host_; | 1274 mojom::FrameHostPtr frame_host_; |
1275 | 1275 |
| 1276 // Indicates whether |didAccessInitialDocument| was called. |
| 1277 bool has_accessed_initial_document_; |
| 1278 |
1276 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1279 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1277 | 1280 |
1278 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1281 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1279 }; | 1282 }; |
1280 | 1283 |
1281 } // namespace content | 1284 } // namespace content |
1282 | 1285 |
1283 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1286 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |