diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 22:13:35 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 22:13:35 +0000 |
commit | 2e29d9243d84374d861a86252a2923cba9e49941 (patch) | |
tree | 099ca85a5204473118c853f42bdcef27c7b4dc38 /chrome/browser/browser.h | |
parent | 5b2a74318a8e597769fa882d4c979d4c907b023d (diff) | |
download | chromium_src-2e29d9243d84374d861a86252a2923cba9e49941.zip chromium_src-2e29d9243d84374d861a86252a2923cba9e49941.tar.gz chromium_src-2e29d9243d84374d861a86252a2923cba9e49941.tar.bz2 |
Fix for issue 18228.
Don't record browser history for navigations for tabs in app frame.
BUG=18228
TEST=Open chrome in app frame (via "-app", application shortcut or convert a page to app), navigations in app frame should not appear in history.
Review URL: http://codereview.chromium.org/306052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index 0f9cd60..a1e6f40 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -547,6 +547,7 @@ class Browser : public TabStripModelDelegate, bool show_history); virtual bool IsReservedAccelerator(const NativeWebKeyboardEvent& event); virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); + virtual bool ShouldAddNavigationsToHistory() const; // Overridden from SelectFileDialog::Listener: virtual void FileSelected(const FilePath& path, int index, void* params); |