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

Side by Side Diff: chrome/browser/gtk/task_manager_gtk.h

Issue 202035: Fix accel leak in task manager and bookmark manager by using (Closed)
Patch Set: null Created 11 years, 3 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/gtk/bookmark_manager_gtk.cc ('k') | chrome/browser/gtk/task_manager_gtk.cc » ('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) 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/bookmark_manager_gtk.cc ('k') | chrome/browser/gtk/task_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698