Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3270)

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 7436001: WebUI TaskManager: make it default on touch UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 4e852a14c7ed8a2fac06df80d64d460871eab8d6..e2a73d4f0a1ca08acfa3661c96d1767538562675 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1052,12 +1052,16 @@ void BrowserView::ShowCompactLocationBarUnderSelectedTab() {
void BrowserView::ShowTaskManager() {
// Uses WebUI TaskManager when swiches is set. It is beta feature.
+#if !defined(TOUCH_UI)
mazda 2011/07/19 10:05:07 How about enclosing the block with one if-else cla
yoshiki 2011/07/20 07:39:00 Done.
if (CommandLine::ForCurrentProcess()
->HasSwitch(switches::kEnableWebUITaskManager)) {
+#endif
TaskManagerDialog::Show();
+#if !defined(TOUCH_UI)
} else {
browser::ShowTaskManager();
}
+#endif
}
void BrowserView::ShowBackgroundPages() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698