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 #include "chrome/browser/task_manager/task_manager.h" | 5 #include "chrome/browser/task_manager/task_manager.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/metrics/stats_table.h" | 9 #include "base/metrics/stats_table.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "grit/theme_resources.h" | 22 #include "grit/theme_resources.h" |
23 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
24 #include "ui/base/models/table_model_observer.h" | 24 #include "ui/base/models/table_model_observer.h" |
25 #include "views/accelerator.h" | 25 #include "views/accelerator.h" |
26 #include "views/background.h" | 26 #include "views/background.h" |
27 #include "views/controls/button/native_button.h" | 27 #include "views/controls/button/native_button.h" |
28 #include "views/controls/link.h" | 28 #include "views/controls/link.h" |
29 #include "views/controls/menu/menu.h" | 29 #include "views/controls/menu/menu.h" |
30 #include "views/controls/table/group_table_view.h" | 30 #include "views/controls/table/group_table_view.h" |
31 #include "views/controls/table/table_view_observer.h" | 31 #include "views/controls/table/table_view_observer.h" |
32 #include "views/standard_layout.h" | 32 #include "views/layout/layout_constants.h" |
33 #include "views/widget/widget.h" | 33 #include "views/widget/widget.h" |
34 #include "views/window/dialog_delegate.h" | 34 #include "views/window/dialog_delegate.h" |
35 #include "views/window/window.h" | 35 #include "views/window/window.h" |
36 | 36 |
37 // The task manager window default size. | 37 // The task manager window default size. |
38 static const int kDefaultWidth = 460; | 38 static const int kDefaultWidth = 460; |
39 static const int kDefaultHeight = 270; | 39 static const int kDefaultHeight = 270; |
40 | 40 |
41 namespace { | 41 namespace { |
42 | 42 |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 } // namespace | 709 } // namespace |
710 | 710 |
711 namespace browser { | 711 namespace browser { |
712 | 712 |
713 // Declared in browser_dialogs.h so others don't need to depend on our header. | 713 // Declared in browser_dialogs.h so others don't need to depend on our header. |
714 void ShowTaskManager() { | 714 void ShowTaskManager() { |
715 TaskManagerView::Show(); | 715 TaskManagerView::Show(); |
716 } | 716 } |
717 | 717 |
718 } // namespace browser | 718 } // namespace browser |
OLD | NEW |