summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager.cc
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:41:02 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:41:02 +0000
commit9f294395bd03a34495d0c6b9ffc101ccd7c8319a (patch)
treeb333fb3a0bc3fa5158afada132885bfbf4d3884e /chrome/browser/task_manager.cc
parentaf36f70ca4e85d6971176ad1687e624f2aa1c5c8 (diff)
downloadchromium_src-9f294395bd03a34495d0c6b9ffc101ccd7c8319a.zip
chromium_src-9f294395bd03a34495d0c6b9ffc101ccd7c8319a.tar.gz
chromium_src-9f294395bd03a34495d0c6b9ffc101ccd7c8319a.tar.bz2
Navigating to about:memory page from Task manager should bring up the
minimized browser window. BUG=4557 ( http://crbug.com/4557 ) Original patch by Mohamed Mansour <m0.interactive@gmail.com> in http://codereview.chromium.org/42208/show Review URL: http://codereview.chromium.org/48167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager.cc')
-rw-r--r--chrome/browser/task_manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/task_manager.cc b/chrome/browser/task_manager.cc
index e0e037f..95da5ee 100644
--- a/chrome/browser/task_manager.cc
+++ b/chrome/browser/task_manager.cc
@@ -922,6 +922,8 @@ void TaskManagerContents::LinkActivated(views::Link* source,
DCHECK(browser);
browser->OpenURL(GURL("about:memory"), GURL(), NEW_FOREGROUND_TAB,
PageTransition::LINK);
+ // In case the browser window is minimzed, show it.
+ browser->window()->Show();
}
void TaskManagerContents::ShowContextMenu(views::View* source,