| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_GTK_TASK_MANAGER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 // The list of processes. | 106 // The list of processes. |
| 107 GtkListStore* process_list_; | 107 GtkListStore* process_list_; |
| 108 | 108 |
| 109 // The number of processes in |process_list_|. | 109 // The number of processes in |process_list_|. |
| 110 int process_count_; | 110 int process_count_; |
| 111 | 111 |
| 112 // The context menu controller. | 112 // The context menu controller. |
| 113 scoped_ptr<ContextMenuController> menu_controller_; | 113 scoped_ptr<ContextMenuController> menu_controller_; |
| 114 | 114 |
| 115 GtkAccelGroup* accel_group_; |
| 116 |
| 115 // 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 |
| 116 // is reset to NULL when the window is closed. | 118 // is reset to NULL when the window is closed. |
| 117 static TaskManagerGtk* instance_; | 119 static TaskManagerGtk* instance_; |
| 118 | 120 |
| 119 DISALLOW_COPY_AND_ASSIGN(TaskManagerGtk); | 121 DISALLOW_COPY_AND_ASSIGN(TaskManagerGtk); |
| 120 }; | 122 }; |
| 121 | 123 |
| 122 #endif // CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ | 124 #endif // CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ |
| OLD | NEW |