| OLD | NEW |
| 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/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 8 #include "base/process_util.h" | 9 #include "base/process_util.h" |
| 9 #include "base/stats_table.h" | 10 #include "base/stats_table.h" |
| 10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 11 #include "base/thread.h" | 12 #include "base/thread.h" |
| 12 #include "chrome/browser/browser_list.h" | 13 #include "chrome/browser/browser_list.h" |
| 13 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
| 14 #include "chrome/browser/renderer_host/render_process_host.h" | 15 #include "chrome/browser/renderer_host/render_process_host.h" |
| 15 #include "chrome/browser/task_manager_resource_providers.h" | 16 #include "chrome/browser/task_manager_resource_providers.h" |
| 16 #include "chrome/browser/tab_contents/tab_util.h" | 17 #include "chrome/browser/tab_contents/tab_util.h" |
| 17 #include "chrome/browser/views/standard_layout.h" | 18 #include "chrome/browser/views/standard_layout.h" |
| 18 #include "chrome/common/l10n_util.h" | |
| 19 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
| 20 #include "chrome/common/pref_service.h" | 20 #include "chrome/common/pref_service.h" |
| 21 #include "chrome/views/accelerator.h" | 21 #include "chrome/views/accelerator.h" |
| 22 #include "chrome/views/background.h" | 22 #include "chrome/views/background.h" |
| 23 #include "chrome/views/controls/button/native_button.h" | 23 #include "chrome/views/controls/button/native_button.h" |
| 24 #include "chrome/views/controls/link.h" | 24 #include "chrome/views/controls/link.h" |
| 25 #include "chrome/views/controls/menu/menu.h" | 25 #include "chrome/views/controls/menu/menu.h" |
| 26 #include "chrome/views/widget/widget.h" | 26 #include "chrome/views/widget/widget.h" |
| 27 #include "chrome/views/window/window.h" | 27 #include "chrome/views/window/window.h" |
| 28 #include "grit/chromium_strings.h" | 28 #include "grit/chromium_strings.h" |
| (...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 } | 1103 } |
| 1104 | 1104 |
| 1105 views::View* TaskManager::GetContentsView() { | 1105 views::View* TaskManager::GetContentsView() { |
| 1106 return contents_.get(); | 1106 return contents_.get(); |
| 1107 } | 1107 } |
| 1108 | 1108 |
| 1109 // static | 1109 // static |
| 1110 TaskManager* TaskManager::GetInstance() { | 1110 TaskManager* TaskManager::GetInstance() { |
| 1111 return Singleton<TaskManager>::get(); | 1111 return Singleton<TaskManager>::get(); |
| 1112 } | 1112 } |
| OLD | NEW |