| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_GTK_TASK_MANAGER_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_TASK_MANAGER_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "app/gtk_signal.h" | 13 #include "app/gtk_signal.h" |
| 14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
| 15 #include "chrome/browser/task_manager/task_manager.h" | 15 #include "chrome/browser/task_manager/task_manager.h" |
| 16 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 static TaskManagerGtk* instance_; | 223 static TaskManagerGtk* instance_; |
| 224 | 224 |
| 225 // We edit the selection in the OnSelectionChanged handler, and we use this | 225 // We edit the selection in the OnSelectionChanged handler, and we use this |
| 226 // variable to prevent ourselves from handling further changes that we | 226 // variable to prevent ourselves from handling further changes that we |
| 227 // ourselves caused. | 227 // ourselves caused. |
| 228 bool ignore_selection_changed_; | 228 bool ignore_selection_changed_; |
| 229 | 229 |
| 230 DISALLOW_COPY_AND_ASSIGN(TaskManagerGtk); | 230 DISALLOW_COPY_AND_ASSIGN(TaskManagerGtk); |
| 231 }; | 231 }; |
| 232 | 232 |
| 233 #endif // CHROME_BROWSER_GTK_TASK_MANAGER_GTK_H_ | 233 #endif // CHROME_BROWSER_UI_GTK_TASK_MANAGER_GTK_H_ |
| OLD | NEW |