| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/navigation_handle.h" | 8 #include "content/public/browser/navigation_handle.h" |
| 9 | 9 |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 // PlzNavigate | 583 // PlzNavigate |
| 584 // Information about the JavaScript that started the navigation. For | 584 // Information about the JavaScript that started the navigation. For |
| 585 // navigations initiated by Javascript. | 585 // navigations initiated by Javascript. |
| 586 SourceLocation source_location_; | 586 SourceLocation source_location_; |
| 587 | 587 |
| 588 // PlzNavigate | 588 // PlzNavigate |
| 589 // Used to inform a RenderProcessHost that we expect this navigation to commit | 589 // Used to inform a RenderProcessHost that we expect this navigation to commit |
| 590 // in it. | 590 // in it. |
| 591 int expected_render_process_host_id_; | 591 int expected_render_process_host_id_; |
| 592 | 592 |
| 593 // TODO(arthursonzogni): Remove this when we understand the root cause behind | |
| 594 // crbug.com/704892. | |
| 595 bool is_in_constructor; | |
| 596 | |
| 597 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; | 593 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
| 598 | 594 |
| 599 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 595 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
| 600 }; | 596 }; |
| 601 | 597 |
| 602 } // namespace content | 598 } // namespace content |
| 603 | 599 |
| 604 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 600 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
| OLD | NEW |