Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/browser/ui/views/new_task_manager_view.h

Issue 2146033003: TableView: 3-phase ToggleSortOrder (sorted/reversed/unsorted) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky's fixes. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/task_manager/task_manager_table_model.cc ('k') | chrome/browser/ui/views/new_task_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698