Chromium Code Reviews| 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" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 void SetColumnVisibility(int column_id, bool new_visibility) override; | 47 void SetColumnVisibility(int column_id, bool new_visibility) override; |
| 48 bool IsTableSorted() const override; | 48 bool IsTableSorted() const override; |
| 49 TableSortDescriptor GetSortDescriptor() const override; | 49 TableSortDescriptor GetSortDescriptor() const override; |
| 50 void SetSortDescriptor(const TableSortDescriptor& descriptor) override; | 50 void SetSortDescriptor(const TableSortDescriptor& descriptor) override; |
| 51 | 51 |
| 52 // views::View: | 52 // views::View: |
| 53 gfx::Size GetPreferredSize() const override; | 53 gfx::Size GetPreferredSize() const override; |
| 54 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 54 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 55 | 55 |
| 56 // views::DialogDelegateView: | 56 // views::DialogDelegateView: |
| 57 views::View* GetInitiallyFocusedView() override; | |
|
sky
2017/03/24 02:23:50
How come we no longer need this override? If you'r
Evan Stade
2017/03/27 15:17:09
Yes. It relies on the default being null. I don't
| |
| 58 bool CanResize() const override; | 57 bool CanResize() const override; |
| 59 bool CanMaximize() const override; | 58 bool CanMaximize() const override; |
| 60 bool CanMinimize() const override; | 59 bool CanMinimize() const override; |
| 61 bool ExecuteWindowsCommand(int command_id) override; | 60 bool ExecuteWindowsCommand(int command_id) override; |
| 62 base::string16 GetWindowTitle() const override; | 61 base::string16 GetWindowTitle() const override; |
| 63 std::string GetWindowName() const override; | 62 std::string GetWindowName() const override; |
| 64 bool Accept() override; | 63 bool Accept() override; |
| 65 bool Close() override; | 64 bool Close() override; |
| 66 int GetDialogButtons() const override; | 65 int GetDialogButtons() const override; |
| 67 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 66 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| (...skipping 58 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 |