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 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 service_manager::BindSourceInfo browser_info_; | 1409 service_manager::BindSourceInfo browser_info_; |
1410 | 1410 |
1411 mojo::BindingSet<service_manager::mojom::InterfaceProvider> | 1411 mojo::BindingSet<service_manager::mojom::InterfaceProvider> |
1412 interface_provider_bindings_; | 1412 interface_provider_bindings_; |
1413 | 1413 |
1414 mojom::URLLoaderFactoryPtr url_loader_factory_; | 1414 mojom::URLLoaderFactoryPtr url_loader_factory_; |
1415 | 1415 |
1416 // AndroidOverlay routing token from the browser, if we have one yet. | 1416 // AndroidOverlay routing token from the browser, if we have one yet. |
1417 base::Optional<base::UnguessableToken> overlay_routing_token_; | 1417 base::Optional<base::UnguessableToken> overlay_routing_token_; |
1418 | 1418 |
| 1419 // PlzNavigate: true after the beforeunload handler that proceeded ran, and |
| 1420 // before the next navigation has committed. |
| 1421 bool ran_before_unload_ = false; |
| 1422 |
1419 // Callbacks that we should call when we get a routing token. | 1423 // Callbacks that we should call when we get a routing token. |
1420 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; | 1424 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
1421 | 1425 |
1422 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1426 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1423 | 1427 |
1424 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1428 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1425 }; | 1429 }; |
1426 | 1430 |
1427 } // namespace content | 1431 } // namespace content |
1428 | 1432 |
1429 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1433 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |