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

Side by Side Diff: chrome/browser/task_manager.cc

Issue 113143: Move color_utils, text_elider, drag_utils, accessibility_types, standard_layo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry.cc ('k') | chrome/browser/toolbar_model.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/task_manager.h" 5 #include "chrome/browser/task_manager.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/stats_table.h" 10 #include "base/stats_table.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/thread.h" 12 #include "base/thread.h"
13 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/renderer_host/render_process_host.h" 15 #include "chrome/browser/renderer_host/render_process_host.h"
16 #include "chrome/browser/task_manager_resource_providers.h" 16 #include "chrome/browser/task_manager_resource_providers.h"
17 #include "chrome/browser/tab_contents/tab_util.h" 17 #include "chrome/browser/tab_contents/tab_util.h"
18 #include "chrome/browser/views/standard_layout.h"
19 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
20 #include "chrome/common/pref_service.h" 19 #include "chrome/common/pref_service.h"
21 #include "grit/chromium_strings.h" 20 #include "grit/chromium_strings.h"
22 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
23 #include "grit/theme_resources.h" 22 #include "grit/theme_resources.h"
24 #include "net/url_request/url_request.h" 23 #include "net/url_request/url_request.h"
25 #include "net/url_request/url_request_job.h" 24 #include "net/url_request/url_request_job.h"
26 #include "views/accelerator.h" 25 #include "views/accelerator.h"
27 #include "views/background.h" 26 #include "views/background.h"
28 #include "views/controls/button/native_button.h" 27 #include "views/controls/button/native_button.h"
29 #include "views/controls/link.h" 28 #include "views/controls/link.h"
30 #include "views/controls/menu/menu.h" 29 #include "views/controls/menu/menu.h"
30 #include "views/standard_layout.h"
31 #include "views/widget/widget.h" 31 #include "views/widget/widget.h"
32 #include "views/window/dialog_delegate.h" 32 #include "views/window/dialog_delegate.h"
33 #include "views/window/window.h" 33 #include "views/window/window.h"
34 34
35 // The task manager window default size. 35 // The task manager window default size.
36 static const int kDefaultWidth = 460; 36 static const int kDefaultWidth = 460;
37 static const int kDefaultHeight = 270; 37 static const int kDefaultHeight = 270;
38 38
39 // The delay between updates of the information (in ms). 39 // The delay between updates of the information (in ms).
40 static const int kUpdateTimeMs = 1000; 40 static const int kUpdateTimeMs = 1000;
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 } 1118 }
1119 1119
1120 void TaskManager::RemoveResource(Resource* resource) { 1120 void TaskManager::RemoveResource(Resource* resource) {
1121 table_model_->RemoveResource(resource); 1121 table_model_->RemoveResource(resource);
1122 } 1122 }
1123 1123
1124 // static 1124 // static
1125 TaskManager* TaskManager::GetInstance() { 1125 TaskManager* TaskManager::GetInstance() {
1126 return Singleton<TaskManager>::get(); 1126 return Singleton<TaskManager>::get();
1127 } 1127 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry.cc ('k') | chrome/browser/toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698