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

Unified Diff: chrome/browser/browser.h

Issue 3734003: Add support for SINGLETON_TAB disposition to BrowserNavigator.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.h
===================================================================
--- chrome/browser/browser.h (revision 62194)
+++ chrome/browser/browser.h (working copy)
@@ -625,6 +625,16 @@
// not null.
int GetLastBlockedCommand(WindowOpenDisposition* disposition);
+ // Called by browser::Navigate() when a navigation has occurred in a tab in
+ // this Browser. Updates the UI for the start of this navigation.
+ void UpdateUIForNavigationInTab(TabContents* contents,
+ PageTransition::Type transition,
+ bool user_initiated);
+
+ // Called by browser::Navigate() to retrieve the home page if no URL is
+ // specified.
+ virtual GURL GetHomePage() const;
sky 2010/10/12 17:44:19 Does this needs to be virtual?
+
// Interface implementations ////////////////////////////////////////////////
// Overridden from PageNavigator:
@@ -639,6 +649,7 @@
virtual void TabRestoreServiceChanged(TabRestoreService* service);
virtual void TabRestoreServiceDestroyed(TabRestoreService* service);
+
// Overridden from TabHandlerDelegate:
virtual Profile* GetProfile() const;
virtual Browser* AsBrowser();
@@ -913,10 +924,6 @@
int index,
int add_types);
- // Returns what the user's home page is, or the new tab page if the home page
- // has not been set.
- GURL GetHomePage() const;
-
// Shows the Find Bar, optionally selecting the next entry that matches the
// existing search string for that Tab. |forward_direction| controls the
// search direction.
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698