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_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
443 | 443 |
444 // Used to smooth out timestamps from |get_timestamp_callback_|. | 444 // Used to smooth out timestamps from |get_timestamp_callback_|. |
445 // Without this, whenever there is a run of redirects or | 445 // Without this, whenever there is a run of redirects or |
446 // code-generated navigations, those navigations may occur within | 446 // code-generated navigations, those navigations may occur within |
447 // the timer resolution, leading to things sometimes showing up in | 447 // the timer resolution, leading to things sometimes showing up in |
448 // the wrong order in the history view. | 448 // the wrong order in the history view. |
449 TimeSmoother time_smoother_; | 449 TimeSmoother time_smoother_; |
450 | 450 |
451 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_; | 451 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_; |
452 | 452 |
453 // Used to track the reload type triggered by an user action for the last | |
454 // navigation. | |
Charlie Reis
2016/09/19 22:23:51
nit: Rephrase to:
Used for tracking consecutive re
Takashi Toyoshima
2016/09/26 12:23:34
Done.
| |
455 ReloadType last_committed_reload_type_; | |
456 | |
457 // Used to track the timestamp for the last navigation when it was reload. | |
458 base::Time last_committed_reload_time_; | |
459 | |
453 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); | 460 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); |
454 }; | 461 }; |
455 | 462 |
456 } // namespace content | 463 } // namespace content |
457 | 464 |
458 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ | 465 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
OLD | NEW |