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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/task_manager.h b/chrome/browser/task_manager.h
index d58a21e..c0eaa8b 100644
--- a/chrome/browser/task_manager.h
+++ b/chrome/browser/task_manager.h
@@ -95,8 +95,8 @@ class TaskManager {
// moved to the front.
static void Open();
- // Close the task manager.
- void Close();
+ // Close the task manager if it's currently opened.
+ static void Close();
// Returns true if the current selection includes the browser process.
bool BrowserProcessIsSelected();
@@ -118,6 +118,8 @@ class TaskManager {
void AddResource(Resource* resource);
void RemoveResource(Resource* resource);
+ void OnWindowClosed();
+
private:
FRIEND_TEST(TaskManagerTest, Basic);
FRIEND_TEST(TaskManagerTest, Resources);
@@ -354,6 +356,7 @@ class TaskManagerView {
virtual void GetFocused(std::vector<int>* focused) = 0;
virtual void OpenWindow() = 0;
+ virtual void CloseWindow() = 0;
};
#endif // CHROME_BROWSER_TASK_MANAGER_H_