diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 04:07:41 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 04:07:41 +0000 |
commit | da4be3b4254e78cdb71c33e3d4d256885bf80d7c (patch) | |
tree | b8b63c414d9650bc9be03717141c965f56dacc4d /chrome/browser/tab_contents/navigation_controller.cc | |
parent | 4343769b7971d1b794b729fcb82107101f1e306b (diff) | |
download | chromium_src-da4be3b4254e78cdb71c33e3d4d256885bf80d7c.zip chromium_src-da4be3b4254e78cdb71c33e3d4d256885bf80d7c.tar.gz chromium_src-da4be3b4254e78cdb71c33e3d4d256885bf80d7c.tar.bz2 |
Fix back button behavior for DOMUI contents (or at least make it as not-broken as before) - I forgot to add this line to the nav controller.
BUG=8212
Review URL: http://codereview.chromium.org/40076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10865 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/navigation_controller.cc')
-rw-r--r-- | chrome/browser/tab_contents/navigation_controller.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/navigation_controller.cc b/chrome/browser/tab_contents/navigation_controller.cc index af6c73c..eb7b613 100644 --- a/chrome/browser/tab_contents/navigation_controller.cc +++ b/chrome/browser/tab_contents/navigation_controller.cc @@ -54,6 +54,7 @@ void SetContentStateIfEmpty(NavigationEntry* entry) { if (entry->content_state().empty() && (entry->tab_type() == TAB_CONTENTS_WEB || entry->tab_type() == TAB_CONTENTS_NEW_TAB_UI || + entry->tab_type() == TAB_CONTENTS_DOM_UI || entry->tab_type() == TAB_CONTENTS_ABOUT_UI || entry->tab_type() == TAB_CONTENTS_HTML_DIALOG || entry->IsViewSourceMode())) { |