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