| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/panel_resource_provider.h" | 5 #include "chrome/browser/task_manager/panel_resource_provider.h" |
| 6 | 6 |
| 7 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
| 8 #include "chrome/browser/chrome_notification_types.h" | 8 #include "chrome/browser/chrome_notification_types.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/task_manager/renderer_resource.h" | 11 #include "chrome/browser/task_manager/renderer_resource.h" |
| 12 #include "chrome/browser/task_manager/resource_provider.h" | 12 #include "chrome/browser/task_manager/resource_provider.h" |
| 13 #include "chrome/browser/task_manager/task_manager.h" | 13 #include "chrome/browser/task_manager/task_manager.h" |
| 14 #include "chrome/browser/task_manager/task_manager_util.h" | 14 #include "chrome/browser/task_manager/task_manager_util.h" |
| 15 #include "chrome/browser/ui/panels/panel.h" | 15 #include "chrome/browser/ui/panels/panel.h" |
| 16 #include "chrome/browser/ui/panels/panel_manager.h" | 16 #include "chrome/browser/ui/panels/panel_manager.h" |
| 17 #include "chrome/common/extensions/extension.h" | |
| 18 #include "content/public/browser/notification_service.h" | 17 #include "content/public/browser/notification_service.h" |
| 19 #include "content/public/browser/render_process_host.h" | 18 #include "content/public/browser/render_process_host.h" |
| 20 #include "content/public/browser/render_view_host.h" | 19 #include "content/public/browser/render_view_host.h" |
| 21 #include "content/public/browser/web_contents.h" | 20 #include "content/public/browser/web_contents.h" |
| 22 #include "extensions/browser/view_type_utils.h" | 21 #include "extensions/browser/view_type_utils.h" |
| 22 #include "extensions/common/extension.h" |
| 23 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
| 24 | 24 |
| 25 using content::RenderProcessHost; | 25 using content::RenderProcessHost; |
| 26 using content::RenderViewHost; | 26 using content::RenderViewHost; |
| 27 using content::WebContents; | 27 using content::WebContents; |
| 28 using extensions::Extension; | 28 using extensions::Extension; |
| 29 | 29 |
| 30 namespace task_manager { | 30 namespace task_manager { |
| 31 | 31 |
| 32 class PanelResource : public RendererResource { | 32 class PanelResource : public RendererResource { |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 } | 232 } |
| 233 break; | 233 break; |
| 234 } | 234 } |
| 235 default: | 235 default: |
| 236 NOTREACHED() << "Unexpected notificiation."; | 236 NOTREACHED() << "Unexpected notificiation."; |
| 237 break; | 237 break; |
| 238 } | 238 } |
| 239 } | 239 } |
| 240 | 240 |
| 241 } // namespace task_manager | 241 } // namespace task_manager |
| OLD | NEW |