OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/tabs/tab_utils.h" | 5 #include "chrome/browser/ui/tabs/tab_utils.h" |
6 | 6 |
7 #include "base/strings/string16.h" | 7 #include "base/strings/string16.h" |
8 #include "chrome/browser/media/audio_stream_monitor.h" | 8 #include "chrome/browser/media/audio_stream_monitor.h" |
9 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 9 #include "chrome/browser/media/media_capture_devices_dispatcher.h" |
10 #include "chrome/browser/media/media_stream_capture_indicator.h" | 10 #include "chrome/browser/media/media_stream_capture_indicator.h" |
11 #include "grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
12 #include "grit/theme_resources.h" | 12 #include "grit/theme_resources.h" |
13 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
14 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
15 #include "ui/gfx/animation/multi_animation.h" | 15 #include "ui/gfx/animation/multi_animation.h" |
16 | 16 |
17 namespace chrome { | 17 namespace chrome { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 // Interval between frame updates of the tab indicator animations. This is not | 21 // Interval between frame updates of the tab indicator animations. This is not |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 l10n_util::GetStringUTF16(IDS_TOOLTIP_TAB_MEDIA_STATE_CAPTURING)); | 202 l10n_util::GetStringUTF16(IDS_TOOLTIP_TAB_MEDIA_STATE_CAPTURING)); |
203 break; | 203 break; |
204 case TAB_MEDIA_STATE_NONE: | 204 case TAB_MEDIA_STATE_NONE: |
205 NOTREACHED(); | 205 NOTREACHED(); |
206 break; | 206 break; |
207 } | 207 } |
208 return result; | 208 return result; |
209 } | 209 } |
210 | 210 |
211 } // namespace chrome | 211 } // namespace chrome |
OLD | NEW |