| OLD | NEW |
| 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 |
| 11 #include "base/mac/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
| 12 #include "base/macros.h" |
| 12 #include "chrome/browser/task_manager/task_manager.h" | 13 #include "chrome/browser/task_manager/task_manager.h" |
| 13 #include "chrome/browser/ui/cocoa/table_row_nsimage_cache.h" | 14 #include "chrome/browser/ui/cocoa/table_row_nsimage_cache.h" |
| 14 | 15 |
| 15 @class WindowSizeAutosaver; | 16 @class WindowSizeAutosaver; |
| 16 class TaskManagerMac; | 17 class TaskManagerMac; |
| 17 | 18 |
| 18 namespace gfx { | 19 namespace gfx { |
| 19 class ImageSkia; | 20 class ImageSkia; |
| 20 } | 21 } |
| 21 | 22 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 TableRowNSImageCache icon_cache_; | 115 TableRowNSImageCache icon_cache_; |
| 115 | 116 |
| 116 // An open task manager window. There can only be one open at a time. This | 117 // An open task manager window. There can only be one open at a time. This |
| 117 // is reset to NULL when the window is closed. | 118 // is reset to NULL when the window is closed. |
| 118 static TaskManagerMac* instance_; | 119 static TaskManagerMac* instance_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(TaskManagerMac); | 121 DISALLOW_COPY_AND_ASSIGN(TaskManagerMac); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 #endif // CHROME_BROWSER_UI_COCOA_TASK_MANAGER_MAC_H_ | 124 #endif // CHROME_BROWSER_UI_COCOA_TASK_MANAGER_MAC_H_ |
| OLD | NEW |