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 "ash/system/chromeos/tray_tracing.h" | 5 #include "ash/system/chromeos/tray_tracing.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/system/tray/actionable_view.h" | 8 #include "ash/system/tray/actionable_view.h" |
9 #include "ash/system/tray/fixed_sized_image_view.h" | 9 #include "ash/system/tray/fixed_sized_image_view.h" |
10 #include "ash/system/tray/system_tray.h" | 10 #include "ash/system/tray/system_tray.h" |
11 #include "ash/system/tray/system_tray_delegate.h" | 11 #include "ash/system/tray/system_tray_delegate.h" |
12 #include "ash/system/tray/system_tray_notifier.h" | 12 #include "ash/system/tray/system_tray_notifier.h" |
13 #include "ash/system/tray/tray_constants.h" | 13 #include "ash/system/tray/tray_constants.h" |
14 #include "grit/ash_resources.h" | 14 #include "grit/ash_resources.h" |
15 #include "grit/ash_strings.h" | 15 #include "grit/ash_strings.h" |
16 #include "ui/base/l10n/l10n_util.h" | |
17 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
18 #include "ui/gfx/image/image.h" | 17 #include "ui/gfx/image/image.h" |
19 #include "ui/views/controls/image_view.h" | 18 #include "ui/views/controls/image_view.h" |
20 #include "ui/views/controls/label.h" | 19 #include "ui/views/controls/label.h" |
21 #include "ui/views/layout/box_layout.h" | 20 #include "ui/views/layout/box_layout.h" |
22 | 21 |
23 namespace ash { | 22 namespace ash { |
24 namespace tray { | 23 namespace tray { |
25 | 24 |
26 class DefaultTracingView : public ActionableView { | 25 class DefaultTracingView : public ActionableView { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 } | 100 } |
102 | 101 |
103 void TrayTracing::DestroyDetailedView() { | 102 void TrayTracing::DestroyDetailedView() { |
104 } | 103 } |
105 | 104 |
106 void TrayTracing::OnTracingModeChanged(bool value) { | 105 void TrayTracing::OnTracingModeChanged(bool value) { |
107 SetTrayIconVisible(value); | 106 SetTrayIconVisible(value); |
108 } | 107 } |
109 | 108 |
110 } // namespace ash | 109 } // namespace ash |
OLD | NEW |