diff options
author | brg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-23 00:02:44 +0000 |
---|---|---|
committer | brg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-23 00:02:44 +0000 |
commit | 1ebed56434c220f82cf220bbb72a136fea962c87 (patch) | |
tree | 7058028de7d017612d46ee49ba27b497c89cea7a /chrome/browser/tab_contents/web_contents.h | |
parent | 3c4d38386f27b5fc4a7a8db717ea114725c34b4a (diff) | |
download | chromium_src-1ebed56434c220f82cf220bbb72a136fea962c87.zip chromium_src-1ebed56434c220f82cf220bbb72a136fea962c87.tar.gz chromium_src-1ebed56434c220f82cf220bbb72a136fea962c87.tar.bz2 |
Changes to insure that when in app-mode, links open in the default browser. This change should have no affect on Chrome when not in app-mode.Tested against Gmail. UITests added as app_mode_navigation_uitest.
Review URL: http://codereview.chromium.org/18093
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents.h')
-rw-r--r-- | chrome/browser/tab_contents/web_contents.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/web_contents.h b/chrome/browser/tab_contents/web_contents.h index c3094a4..c780fe9 100644 --- a/chrome/browser/tab_contents/web_contents.h +++ b/chrome/browser/tab_contents/web_contents.h @@ -480,6 +480,10 @@ class WebContents : public TabContents, void GenerateKeywordIfNecessary( const ViewHostMsg_FrameNavigate_Params& params); + // Helper function to launch the external browser. + void OpenUrlInDefaultBrowserAndClosePage(const GURL& url, + RenderViewHost* rvh); + // Data ---------------------------------------------------------------------- // The corresponding view. |