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

Side by Side Diff: chrome/browser/ui/cocoa/task_manager_mac.h

Issue 1722493002: Project Eraser: Kill chrome://memory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chrome_browser_ui.gypi. Created 4 years, 9 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
« no previous file with comments | « chrome/browser/ui/chrome_pages.cc ('k') | chrome/browser/ui/cocoa/task_manager_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COCOA_TASK_MANAGER_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TASK_MANAGER_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_TASK_MANAGER_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_TASK_MANAGER_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Descriptor of the current sort column. 42 // Descriptor of the current sort column.
43 base::scoped_nsobject<NSSortDescriptor> currentSortDescriptor_; 43 base::scoped_nsobject<NSSortDescriptor> currentSortDescriptor_;
44 } 44 }
45 45
46 // Creates and shows the task manager's window. 46 // Creates and shows the task manager's window.
47 - (id)initWithTaskManagerObserver:(TaskManagerMac*)taskManagerObserver; 47 - (id)initWithTaskManagerObserver:(TaskManagerMac*)taskManagerObserver;
48 48
49 // Refreshes all data in the task manager table. 49 // Refreshes all data in the task manager table.
50 - (void)reloadData; 50 - (void)reloadData;
51 51
52 // Callback for "Stats for nerds" link.
53 - (IBAction)statsLinkClicked:(id)sender;
54
55 // Callback for "End process" button. 52 // Callback for "End process" button.
56 - (IBAction)killSelectedProcesses:(id)sender; 53 - (IBAction)killSelectedProcesses:(id)sender;
57 54
58 // Callback for double clicks on the table. 55 // Callback for double clicks on the table.
59 - (void)selectDoubleClickedTab:(id)sender; 56 - (void)selectDoubleClickedTab:(id)sender;
60 @end 57 @end
61 58
62 @interface TaskManagerWindowController (TestingAPI) 59 @interface TaskManagerWindowController (TestingAPI)
63 - (NSTableView*)tableView; 60 - (NSTableView*)tableView;
64 @end 61 @end
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 TableRowNSImageCache icon_cache_; 112 TableRowNSImageCache icon_cache_;
116 113
117 // An open task manager window. There can only be one open at a time. This 114 // An open task manager window. There can only be one open at a time. This
118 // is reset to NULL when the window is closed. 115 // is reset to NULL when the window is closed.
119 static TaskManagerMac* instance_; 116 static TaskManagerMac* instance_;
120 117
121 DISALLOW_COPY_AND_ASSIGN(TaskManagerMac); 118 DISALLOW_COPY_AND_ASSIGN(TaskManagerMac);
122 }; 119 };
123 120
124 #endif // CHROME_BROWSER_UI_COCOA_TASK_MANAGER_MAC_H_ 121 #endif // CHROME_BROWSER_UI_COCOA_TASK_MANAGER_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/chrome_pages.cc ('k') | chrome/browser/ui/cocoa/task_manager_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698