| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_UI_VIEWS_NEW_TASK_MANAGER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_NEW_TASK_MANAGER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_NEW_TASK_MANAGER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_NEW_TASK_MANAGER_VIEW_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 static task_management::TaskManagerTableModel* Show(Browser* browser); | 44 static task_management::TaskManagerTableModel* Show(Browser* browser); |
| 45 | 45 |
| 46 // Hides the Task Manager if it is showing. | 46 // Hides the Task Manager if it is showing. |
| 47 static void Hide(); | 47 static void Hide(); |
| 48 | 48 |
| 49 // task_management::TableViewDelegate: | 49 // task_management::TableViewDelegate: |
| 50 bool IsColumnVisible(int column_id) const override; | 50 bool IsColumnVisible(int column_id) const override; |
| 51 void SetColumnVisibility(int column_id, bool new_visibility) override; | 51 void SetColumnVisibility(int column_id, bool new_visibility) override; |
| 52 bool IsTableSorted() const override; | 52 bool IsTableSorted() const override; |
| 53 TableSortDescriptor GetSortDescriptor() const override; | 53 TableSortDescriptor GetSortDescriptor() const override; |
| 54 void ToggleSortOrder(int visible_column_index) override; | 54 void SetSortDescriptor(const TableSortDescriptor& descriptor) override; |
| 55 | 55 |
| 56 // views::View: | 56 // views::View: |
| 57 gfx::Size GetPreferredSize() const override; | 57 gfx::Size GetPreferredSize() const override; |
| 58 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 58 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 59 | 59 |
| 60 // views::DialogDelegateView: | 60 // views::DialogDelegateView: |
| 61 bool CanResize() const override; | 61 bool CanResize() const override; |
| 62 bool CanMaximize() const override; | 62 bool CanMaximize() const override; |
| 63 bool CanMinimize() const override; | 63 bool CanMinimize() const override; |
| 64 bool ExecuteWindowsCommand(int command_id) override; | 64 bool ExecuteWindowsCommand(int command_id) override; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 // True when the Task Manager window should be shown on top of other windows. | 127 // True when the Task Manager window should be shown on top of other windows. |
| 128 bool is_always_on_top_; | 128 bool is_always_on_top_; |
| 129 | 129 |
| 130 DISALLOW_COPY_AND_ASSIGN(NewTaskManagerView); | 130 DISALLOW_COPY_AND_ASSIGN(NewTaskManagerView); |
| 131 }; | 131 }; |
| 132 | 132 |
| 133 } // namespace task_management | 133 } // namespace task_management |
| 134 | 134 |
| 135 #endif // CHROME_BROWSER_UI_VIEWS_NEW_TASK_MANAGER_VIEW_H_ | 135 #endif // CHROME_BROWSER_UI_VIEWS_NEW_TASK_MANAGER_VIEW_H_ |
| OLD | NEW |