| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 const ViewHostMsg_FrameNavigate_Params& params); | 450 const ViewHostMsg_FrameNavigate_Params& params); |
| 451 void RendererDidNavigateToSamePage( | 451 void RendererDidNavigateToSamePage( |
| 452 const ViewHostMsg_FrameNavigate_Params& params); | 452 const ViewHostMsg_FrameNavigate_Params& params); |
| 453 void RendererDidNavigateInPage( | 453 void RendererDidNavigateInPage( |
| 454 const ViewHostMsg_FrameNavigate_Params& params, bool* did_replace_entry); | 454 const ViewHostMsg_FrameNavigate_Params& params, bool* did_replace_entry); |
| 455 void RendererDidNavigateNewSubframe( | 455 void RendererDidNavigateNewSubframe( |
| 456 const ViewHostMsg_FrameNavigate_Params& params); | 456 const ViewHostMsg_FrameNavigate_Params& params); |
| 457 bool RendererDidNavigateAutoSubframe( | 457 bool RendererDidNavigateAutoSubframe( |
| 458 const ViewHostMsg_FrameNavigate_Params& params); | 458 const ViewHostMsg_FrameNavigate_Params& params); |
| 459 | 459 |
| 460 // Helper function for code shared between Reload() and ReloadAll(). | 460 // Helper function for code shared between Reload() and ReloadIgnoringCache(). |
| 461 void ReloadInternal(bool check_for_repost, ReloadType reload_type); | 461 void ReloadInternal(bool check_for_repost, ReloadType reload_type); |
| 462 | 462 |
| 463 // Actually issues the navigation held in pending_entry. | 463 // Actually issues the navigation held in pending_entry. |
| 464 void NavigateToPendingEntry(ReloadType reload_type); | 464 void NavigateToPendingEntry(ReloadType reload_type); |
| 465 | 465 |
| 466 // Allows the derived class to issue notifications that a load has been | 466 // Allows the derived class to issue notifications that a load has been |
| 467 // committed. This will fill in the active entry to the details structure. | 467 // committed. This will fill in the active entry to the details structure. |
| 468 // | 468 // |
| 469 // |extra_invalidate_flags| are an additional set of flags (InvalidateTypes) | 469 // |extra_invalidate_flags| are an additional set of flags (InvalidateTypes) |
| 470 // added to the flags sent to the delegate's NotifyNavigationStateChanged. | 470 // added to the flags sent to the delegate's NotifyNavigationStateChanged. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 static size_t max_entry_count_; | 579 static size_t max_entry_count_; |
| 580 | 580 |
| 581 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), | 581 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), |
| 582 // NO_RELOAD otherwise. | 582 // NO_RELOAD otherwise. |
| 583 ReloadType pending_reload_; | 583 ReloadType pending_reload_; |
| 584 | 584 |
| 585 DISALLOW_COPY_AND_ASSIGN(NavigationController); | 585 DISALLOW_COPY_AND_ASSIGN(NavigationController); |
| 586 }; | 586 }; |
| 587 | 587 |
| 588 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ | 588 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ |
| OLD | NEW |