| 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_TASK_MANAGER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "chrome/browser/ui/task_manager/task_manager_table_model.h" | 11 #include "chrome/browser/ui/task_manager/task_manager_table_model.h" |
| 12 #include "ui/base/models/simple_menu_model.h" | 12 #include "ui/base/models/simple_menu_model.h" |
| 13 #include "ui/base/models/table_model.h" | 13 #include "ui/base/models/table_model.h" |
| 14 #include "ui/views/context_menu_controller.h" | 14 #include "ui/views/context_menu_controller.h" |
| 15 #include "ui/views/controls/menu/menu_runner.h" | 15 #include "ui/views/controls/menu/menu_runner.h" |
| 16 #include "ui/views/controls/table/table_grouper.h" | 16 #include "ui/views/controls/table/table_grouper.h" |
| 17 #include "ui/views/controls/table/table_view_observer.h" | 17 #include "ui/views/controls/table/table_view_observer.h" |
| 18 #include "ui/views/window/dialog_delegate.h" | 18 #include "ui/views/window/dialog_delegate.h" |
| 19 | 19 |
| 20 class Browser; | 20 class Browser; |
| 21 | 21 |
| 22 namespace views { | 22 namespace views { |
| 23 class Link; | |
| 24 class TableView; | 23 class TableView; |
| 25 class View; | 24 class View; |
| 26 } // namespace views | 25 } // namespace views |
| 27 | 26 |
| 28 namespace task_manager { | 27 namespace task_manager { |
| 29 | 28 |
| 30 // The new task manager UI container. | 29 // The new task manager UI container. |
| 31 class TaskManagerView : public TableViewDelegate, | 30 class TaskManagerView : public TableViewDelegate, |
| 32 public views::DialogDelegateView, | 31 public views::DialogDelegateView, |
| 33 public views::TableGrouper, | 32 public views::TableGrouper, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 125 |
| 127 // True when the Task Manager window should be shown on top of other windows. | 126 // True when the Task Manager window should be shown on top of other windows. |
| 128 bool is_always_on_top_; | 127 bool is_always_on_top_; |
| 129 | 128 |
| 130 DISALLOW_COPY_AND_ASSIGN(TaskManagerView); | 129 DISALLOW_COPY_AND_ASSIGN(TaskManagerView); |
| 131 }; | 130 }; |
| 132 | 131 |
| 133 } // namespace task_manager | 132 } // namespace task_manager |
| 134 | 133 |
| 135 #endif // CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_ | 134 #endif // CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_ |
| OLD | NEW |