| 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; |
| 57 bool CanResize() const override; | 58 bool CanResize() const override; |
| 58 bool CanMaximize() const override; | 59 bool CanMaximize() const override; |
| 59 bool CanMinimize() const override; | 60 bool CanMinimize() const override; |
| 60 bool ExecuteWindowsCommand(int command_id) override; | 61 bool ExecuteWindowsCommand(int command_id) override; |
| 61 base::string16 GetWindowTitle() const override; | 62 base::string16 GetWindowTitle() const override; |
| 62 std::string GetWindowName() const override; | 63 std::string GetWindowName() const override; |
| 63 bool Accept() override; | 64 bool Accept() override; |
| 64 bool Close() override; | 65 bool Close() override; |
| 65 int GetDialogButtons() const override; | 66 int GetDialogButtons() const override; |
| 66 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 67 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 126 |
| 126 // 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. |
| 127 bool is_always_on_top_; | 128 bool is_always_on_top_; |
| 128 | 129 |
| 129 DISALLOW_COPY_AND_ASSIGN(TaskManagerView); | 130 DISALLOW_COPY_AND_ASSIGN(TaskManagerView); |
| 130 }; | 131 }; |
| 131 | 132 |
| 132 } // namespace task_manager | 133 } // namespace task_manager |
| 133 | 134 |
| 134 #endif // CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_ | 135 #endif // CHROME_BROWSER_UI_VIEWS_TASK_MANAGER_VIEW_H_ |
| OLD | NEW |