summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/task_manager.h')
-rw-r--r--chrome/browser/task_manager.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/chrome/browser/task_manager.h b/chrome/browser/task_manager.h
index b01a30f..d58a21e 100644
--- a/chrome/browser/task_manager.h
+++ b/chrome/browser/task_manager.h
@@ -24,7 +24,7 @@
class MessageLoop;
class SkBitmap;
class TaskManager;
-class TaskManagerContents;
+class TaskManagerView;
class TaskManagerModel;
struct BytesReadParam;
@@ -138,7 +138,7 @@ class TaskManager {
scoped_refptr<TaskManagerModel> model_;
// A container containing the buttons and table.
- scoped_ptr<TaskManagerContents> contents_;
+ scoped_ptr<TaskManagerView> view_;
DISALLOW_COPY_AND_ASSIGN(TaskManager);
};
@@ -346,4 +346,14 @@ class TaskManagerModel : public URLRequestJobTracker::JobObserver,
DISALLOW_COPY_AND_ASSIGN(TaskManagerModel);
};
+class TaskManagerView {
+ public:
+ virtual ~TaskManagerView() {}
+
+ virtual void GetSelection(std::vector<int>* selection) = 0;
+ virtual void GetFocused(std::vector<int>* focused) = 0;
+
+ virtual void OpenWindow() = 0;
+};
+
#endif // CHROME_BROWSER_TASK_MANAGER_H_