Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: chrome/browser/tab_contents/navigation_controller.h

Issue 159329: Revert 19923 - Merge r15950.... (Closed) Base URL: svn://chrome-svn/chrome/branches/172/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/tab_contents/navigation_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Modified: svn:mergeinfo
Reverse-merged /trunk/src/chrome/browser/tab_contents/navigation_controller.h:r14162,14665,15308,15810,15899,15950,16015,16808,18093,18210,18321,18640,18871,19044,19692
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <map> 8 #include <map>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 468
469 // Cancel the collection of the TabContents allocated for |tc|. This method 469 // Cancel the collection of the TabContents allocated for |tc|. This method
470 // is used when we keep using a TabContents because a provisional load failed. 470 // is used when we keep using a TabContents because a provisional load failed.
471 void CancelTabContentsCollection(TabContentsType t); 471 void CancelTabContentsCollection(TabContentsType t);
472 472
473 // Invoked after session/tab restore or cloning a tab. Resets the transition 473 // Invoked after session/tab restore or cloning a tab. Resets the transition
474 // type of the entries, updates the max page id and creates the active 474 // type of the entries, updates the max page id and creates the active
475 // contents. 475 // contents.
476 void FinishRestore(int selected_index); 476 void FinishRestore(int selected_index);
477 477
478 // Inserts a new entry or replaces the current entry with a new one, removing 478 // Inserts an entry after the current position, removing all entries after it.
479 // all entries after it. The new entry will become the active one. 479 // The new entry will become the active one.
480 void InsertOrReplaceEntry(NavigationEntry* entry, bool replace); 480 void InsertEntry(NavigationEntry* entry);
481 481
482 // Discards the pending and transient entries without updating 482 // Discards the pending and transient entries without updating
483 // active_contents_. 483 // active_contents_.
484 void DiscardNonCommittedEntriesInternal(); 484 void DiscardNonCommittedEntriesInternal();
485 485
486 // Discards the transient entry without updating active_contents_. 486 // Discards the transient entry without updating active_contents_.
487 void DiscardTransientEntry(); 487 void DiscardTransientEntry();
488 488
489 // --------------------------------------------------------------------------- 489 // ---------------------------------------------------------------------------
490 490
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // when testing. 561 // when testing.
562 static bool check_for_repost_; 562 static bool check_for_repost_;
563 563
564 // The maximum number of entries that a navigation controller can store. 564 // The maximum number of entries that a navigation controller can store.
565 static size_t max_entry_count_; 565 static size_t max_entry_count_;
566 566
567 DISALLOW_COPY_AND_ASSIGN(NavigationController); 567 DISALLOW_COPY_AND_ASSIGN(NavigationController);
568 }; 568 };
569 569
570 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ 570 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/navigation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698