diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:17:37 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:17:37 +0000 |
commit | 7fd4cc37ca4361f04bb45da1ec06210e84c7c303 (patch) | |
tree | b2aa2e30ffc849128865d35e9b90bf606362d1c9 /chrome | |
parent | 11eaad592f6ccb4721870f0ab0211ea30e429a3d (diff) | |
download | chromium_src-7fd4cc37ca4361f04bb45da1ec06210e84c7c303.zip chromium_src-7fd4cc37ca4361f04bb45da1ec06210e84c7c303.tar.gz chromium_src-7fd4cc37ca4361f04bb45da1ec06210e84c7c303.tar.bz2 |
Allow users to hit ctrl-shift-delete ("clear browsing data") even in fullscreen mode.
I elected not to continue to leave this disabled for app-mode windows since there's no menu entry for it. Not sure if that was the right call.
BUG=9318
Review URL: http://codereview.chromium.org/67188
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/browser.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index e8a3e4f..d87171b 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -2154,6 +2154,8 @@ void Browser::InitCommandState() { // The debugger doesn't work in single process mode. normal_window && !RenderProcessHost::run_renderer_in_process()); #endif + command_updater_.UpdateCommandEnabled(IDC_CLEAR_BROWSING_DATA, + normal_window); } // Initialize other commands whose state changes based on fullscreen mode. @@ -2237,7 +2239,6 @@ void Browser::UpdateCommandsForFullscreenMode(bool is_fullscreen) { command_updater_.UpdateCommandEnabled(IDC_NEW_PROFILE, show_main_ui); command_updater_.UpdateCommandEnabled(IDC_REPORT_BUG, show_main_ui); command_updater_.UpdateCommandEnabled(IDC_SHOW_BOOKMARK_BAR, show_main_ui); - command_updater_.UpdateCommandEnabled(IDC_CLEAR_BROWSING_DATA, show_main_ui); command_updater_.UpdateCommandEnabled(IDC_IMPORT_SETTINGS, show_main_ui); command_updater_.UpdateCommandEnabled(IDC_OPTIONS, show_main_ui); command_updater_.UpdateCommandEnabled(IDC_EDIT_SEARCH_ENGINES, show_main_ui); |