summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 01:12:46 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 01:12:46 +0000
commit6b376c380840ea0ecc82e0705c31be0116d2804a (patch)
tree8de22560e37c9e018485dcefe2b7e639f8699da1 /chrome/browser/browser.h
parentd4c6763d61ccbdb3968641326a6ae948164a1fff (diff)
downloadchromium_src-6b376c380840ea0ecc82e0705c31be0116d2804a.zip
chromium_src-6b376c380840ea0ecc82e0705c31be0116d2804a.tar.gz
chromium_src-6b376c380840ea0ecc82e0705c31be0116d2804a.tar.bz2
Revert 45894 - First cut at window affinity for apps. Window affinity means that app URLs tend to open in the window associated with them, and nonapp URLs tend to not open in app windows.
After playing with this first attempt, I find it is unsatisfying because spreadsheets.google.com doesn't open in the docs app (different origin) and logging out of gmail directs you back to the browser. So I'm going to fix that by adding a browse extent, separately. But I still think this is a worthwhile stepping stone to check in. Review URL: http://codereview.chromium.org/1732015 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/1759013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index a2065a1..2604fa3 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -807,21 +807,6 @@ class Browser : public TabStripModelDelegate,
// Assorted utility functions ///////////////////////////////////////////////
- // Checks whether |source| is about to navigate across extension extents, and
- // if so, navigates in the correct window. For example if this is a normal
- // browser and we're about to navigate into an extent, this method will
- // navigate the app's window instead. If we're in an app window and
- // navigating out of the app, this method will find and navigate a normal
- // browser instead.
- //
- // Returns true if the navigation was handled, eg, it was opened in some other
- // browser. Returns false if it was not handled.
- bool HandleCrossAppNavigation(TabContents* source,
- const GURL& url,
- const GURL& referrer,
- WindowOpenDisposition disposition,
- PageTransition::Type transition);
-
// The low-level function that other OpenURL...() functions call. This
// determines the appropriate SiteInstance to pass to AddTabWithURL(), focuses
// the newly created tab as needed, and does other miscellaneous housekeeping.