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

Unified Diff: chrome/browser/ui/views/new_task_manager_view.h

Issue 1700873002: Remove HostDesktopType from task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-25
Patch Set: Created 4 years, 10 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 | « chrome/browser/ui/cocoa/task_manager_mac.mm ('k') | chrome/browser/ui/views/new_task_manager_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/new_task_manager_view.h
diff --git a/chrome/browser/ui/views/new_task_manager_view.h b/chrome/browser/ui/views/new_task_manager_view.h
index 4890bb304b83cb182698cdd373eaaf9841118715..5752ef9399e1f61d119aeafd51c3577011b09697 100644
--- a/chrome/browser/ui/views/new_task_manager_view.h
+++ b/chrome/browser/ui/views/new_task_manager_view.h
@@ -8,7 +8,6 @@
#include <vector>
#include "base/macros.h"
-#include "chrome/browser/ui/host_desktop.h"
#include "chrome/browser/ui/task_manager/task_manager_table_model.h"
#include "ui/base/models/simple_menu_model.h"
#include "ui/base/models/table_model.h"
@@ -20,6 +19,8 @@
#include "ui/views/controls/table/table_view_observer.h"
#include "ui/views/window/dialog_delegate.h"
+class Browser;
+
namespace views {
class LabelButton;
class Link;
@@ -104,7 +105,7 @@ class NewTaskManagerView
private:
friend class NewTaskManagerViewTest;
- explicit NewTaskManagerView(chrome::HostDesktopType desktop_type);
+ NewTaskManagerView();
static NewTaskManagerView* GetInstanceForTests();
@@ -135,9 +136,6 @@ class NewTaskManagerView
// all possible columns, not necessarily visible
std::vector<ui::TableColumn> columns_;
- // The host desktop type this task manager belongs to.
- const chrome::HostDesktopType desktop_type_;
-
// True when the Task Manager window should be shown on top of other windows.
bool is_always_on_top_;
« no previous file with comments | « chrome/browser/ui/cocoa/task_manager_mac.mm ('k') | chrome/browser/ui/views/new_task_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698