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

Side by Side Diff: chrome/browser/ui/views/task_manager_view.cc

Issue 549263002: Task Manager: Remove goat teleporter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/task_manager_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/task_manager/task_manager.h" 5 #include "chrome/browser/task_manager/task_manager.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/metrics/stats_table.h" 8 #include "base/metrics/stats_table.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/prefs/scoped_user_pref_update.h" 10 #include "base/prefs/scoped_user_pref_update.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN, 347 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN,
348 false); 348 false);
349 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_VIDEO_MEMORY_COLUMN, 349 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_VIDEO_MEMORY_COLUMN,
350 false); 350 false);
351 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_SQLITE_MEMORY_USED_COLUMN, 351 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_SQLITE_MEMORY_USED_COLUMN,
352 false); 352 false);
353 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_NACL_DEBUG_STUB_PORT_COLUMN, 353 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_NACL_DEBUG_STUB_PORT_COLUMN,
354 false); 354 false);
355 tab_table_->SetColumnVisibility( 355 tab_table_->SetColumnVisibility(
356 IDS_TASK_MANAGER_JAVASCRIPT_MEMORY_ALLOCATED_COLUMN, false); 356 IDS_TASK_MANAGER_JAVASCRIPT_MEMORY_ALLOCATED_COLUMN, false);
357 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_GOATS_TELEPORTED_COLUMN,
358 false);
359 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_GDI_HANDLES_COLUMN, false); 357 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_GDI_HANDLES_COLUMN, false);
360 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_USER_HANDLES_COLUMN, false); 358 tab_table_->SetColumnVisibility(IDS_TASK_MANAGER_USER_HANDLES_COLUMN, false);
361 359
362 UpdateStatsCounters(); 360 UpdateStatsCounters();
363 tab_table_->SetObserver(this); 361 tab_table_->SetObserver(this);
364 tab_table_->set_context_menu_controller(this); 362 tab_table_->set_context_menu_controller(this);
365 set_context_menu_controller(this); 363 set_context_menu_controller(this);
366 kill_button_ = new views::LabelButton(this, 364 kill_button_ = new views::LabelButton(this,
367 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_KILL)); 365 l10n_util::GetStringUTF16(IDS_TASK_MANAGER_KILL));
368 kill_button_->SetStyle(views::Button::STYLE_BUTTON); 366 kill_button_->SetStyle(views::Button::STYLE_BUTTON);
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 } // namespace 644 } // namespace
647 645
648 namespace chrome { 646 namespace chrome {
649 647
650 // Declared in browser_dialogs.h so others don't need to depend on our header. 648 // Declared in browser_dialogs.h so others don't need to depend on our header.
651 void ShowTaskManager(Browser* browser) { 649 void ShowTaskManager(Browser* browser) {
652 TaskManagerView::Show(browser); 650 TaskManagerView::Show(browser);
653 } 651 }
654 652
655 } // namespace chrome 653 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/task_manager_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698