Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / task_manager_mac.h
index 093f9f4..83c22f5 100644 (file)
@@ -67,26 +67,29 @@ class TaskManagerMac : public TaskManagerModelObserver,
                        public TableRowNSImageCache::Table {
  public:
   explicit TaskManagerMac(TaskManager* task_manager);
-  virtual ~TaskManagerMac();
+  ~TaskManagerMac() override;
 
   // TaskManagerModelObserver
-  virtual void OnModelChanged() OVERRIDE;
-  virtual void OnItemsChanged(int start, int length) OVERRIDE;
-  virtual void OnItemsAdded(int start, int length) OVERRIDE;
-  virtual void OnItemsRemoved(int start, int length) OVERRIDE;
+  void OnModelChanged() override;
+  void OnItemsChanged(int start, int length) override;
+  void OnItemsAdded(int start, int length) override;
+  void OnItemsRemoved(int start, int length) override;
 
   // Called by the cocoa window controller when its window closes and the
   // controller destroyed itself. Informs the model to stop updating.
   void WindowWasClosed();
 
   // TableRowNSImageCache::Table
-  virtual int RowCount() const OVERRIDE;
-  virtual gfx::ImageSkia GetIcon(int r) const OVERRIDE;
+  int RowCount() const override;
+  gfx::ImageSkia GetIcon(int r) const override;
 
   // Creates the task manager if it doesn't exist; otherwise, it activates the
   // existing task manager window.
   static void Show();
 
+  // Hides the task manager if it is showing.
+  static void Hide();
+
   // Returns the TaskManager observed by |this|.
   TaskManager* task_manager() { return task_manager_; }