diff options
author | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 08:28:07 +0000 |
---|---|---|
committer | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 08:28:07 +0000 |
commit | 7b937360dc15b2746cc601620a33a7273a4eb86b (patch) | |
tree | 63a6ad4c67f0892a934fa95f1a4b3e2d879359b8 /chrome/browser/resources/task_manager/main.html | |
parent | ab6641369e8bbb14d51548fc38848c5885ec0fd6 (diff) | |
download | chromium_src-7b937360dc15b2746cc601620a33a7273a4eb86b.zip chromium_src-7b937360dc15b2746cc601620a33a7273a4eb86b.tar.gz chromium_src-7b937360dc15b2746cc601620a33a7273a4eb86b.tar.bz2 |
WebUI TaskManager: Support on Mac & Linux
WebUI TaskManager is enabled when "--enable-task-manager" command-line option is set or when chrome is built with WEBUI_TASK_MANAGER.
The title and close button are shown only when task manager is a dialog and chrome runs on ChromeOS.
BUG=69222
TEST=manual
Review URL: http://codereview.chromium.org/8115005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/task_manager/main.html')
-rw-r--r-- | chrome/browser/resources/task_manager/main.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/resources/task_manager/main.html b/chrome/browser/resources/task_manager/main.html index d0a15fc..e9bb32b 100644 --- a/chrome/browser/resources/task_manager/main.html +++ b/chrome/browser/resources/task_manager/main.html @@ -15,7 +15,8 @@ <link rel="stylesheet" href="task_manager.css"> </head> <body> - <div class="dialog-title" i18n-content="TITLE"></div> + <div class="dialog-title" i18n-content="TITLE" + visibleif='this.opt_.isShowTitle'></div> <div class="dialog-body"> <div class="list-container"> <div class="detail-table"></div> @@ -27,7 +28,8 @@ </div> <div class="footer-right-container"> <button id="kill-process" i18n-content="KILL_CHROMEOS"></button> - <button id="close-window" i18n-content="CLOSE_WINDOW"></button> + <button id="close-window" i18n-content="CLOSE_WINDOW" + visibleif='this.opt_.isShowCloseButton'></button> </div> </div> <script src="chrome://resources/js/i18n_template.js"></script> |