| OLD | NEW |
| 1 // Copyright (c) 2011 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_UI_GTK_TASK_MANAGER_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_TASK_MANAGER_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_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 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void OnLinkActivated(); | 75 void OnLinkActivated(); |
| 76 | 76 |
| 77 // Compare implementation used for sorting columns. | 77 // Compare implementation used for sorting columns. |
| 78 gint CompareImpl(GtkTreeModel* tree_model, GtkTreeIter* a, | 78 gint CompareImpl(GtkTreeModel* tree_model, GtkTreeIter* a, |
| 79 GtkTreeIter* b, int id); | 79 GtkTreeIter* b, int id); |
| 80 | 80 |
| 81 // Response signal handler that notifies us of dialog destruction. | 81 // Response signal handler that notifies us of dialog destruction. |
| 82 CHROMEGTK_CALLBACK_0(TaskManagerGtk, void, OnDestroy); | 82 CHROMEGTK_CALLBACK_0(TaskManagerGtk, void, OnDestroy); |
| 83 | 83 |
| 84 // Response signal handler that notifies us of dialog responses. | 84 // Response signal handler that notifies us of dialog responses. |
| 85 CHROMEGTK_CALLBACK_1(TaskManagerGtk, void, OnResponse, gint); | 85 CHROMEGTK_CALLBACK_1(TaskManagerGtk, void, OnResponse, int); |
| 86 | 86 |
| 87 // Realize signal handler to set the page column's initial size. | 87 // Realize signal handler to set the page column's initial size. |
| 88 CHROMEG_CALLBACK_0(TaskManagerGtk, void, OnTreeViewRealize, GtkTreeView*); | 88 CHROMEG_CALLBACK_0(TaskManagerGtk, void, OnTreeViewRealize, GtkTreeView*); |
| 89 | 89 |
| 90 // Changed signal handler that is sent when the treeview selection changes. | 90 // Changed signal handler that is sent when the treeview selection changes. |
| 91 CHROMEG_CALLBACK_0(TaskManagerGtk, void, OnSelectionChanged, | 91 CHROMEG_CALLBACK_0(TaskManagerGtk, void, OnSelectionChanged, |
| 92 GtkTreeSelection*); | 92 GtkTreeSelection*); |
| 93 | 93 |
| 94 // row-activated handler that foregrounds a process on activation (e.g., | 94 // row-activated handler that foregrounds a process on activation (e.g., |
| 95 // double-click). | 95 // double-click). |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 // ourselves caused. | 228 // ourselves caused. |
| 229 bool ignore_selection_changed_; | 229 bool ignore_selection_changed_; |
| 230 | 230 |
| 231 // If true, background resources are rendered with a yellow highlight. | 231 // If true, background resources are rendered with a yellow highlight. |
| 232 bool highlight_background_resources_; | 232 bool highlight_background_resources_; |
| 233 | 233 |
| 234 DISALLOW_COPY_AND_ASSIGN(TaskManagerGtk); | 234 DISALLOW_COPY_AND_ASSIGN(TaskManagerGtk); |
| 235 }; | 235 }; |
| 236 | 236 |
| 237 #endif // CHROME_BROWSER_UI_GTK_TASK_MANAGER_GTK_H_ | 237 #endif // CHROME_BROWSER_UI_GTK_TASK_MANAGER_GTK_H_ |
| OLD | NEW |