Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.mm

Issue 797393003: MacViews: Rename Cocoa files to avoid conflict with Views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #import "chrome/browser/ui/cocoa/tabs/media_indicator_button.h" 5 #import "chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/thread_task_runner_handle.h"
9 #include "content/public/browser/user_metrics.h" 9 #include "content/public/browser/user_metrics.h"
10 #include "ui/gfx/animation/animation.h" 10 #include "ui/gfx/animation/animation.h"
11 #include "ui/gfx/animation/animation_delegate.h" 11 #include "ui/gfx/animation/animation_delegate.h"
12 #include "ui/gfx/image/image.h" 12 #include "ui/gfx/image/image.h"
13 13
14 @implementation MediaIndicatorButton 14 @implementation MediaIndicatorButton
15 15
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 content::RecordAction(UserMetricsAction("MediaIndicatorButton_Mute")); 166 content::RecordAction(UserMetricsAction("MediaIndicatorButton_Mute"));
167 else if (mediaState_ == TAB_MEDIA_STATE_AUDIO_MUTING) 167 else if (mediaState_ == TAB_MEDIA_STATE_AUDIO_MUTING)
168 content::RecordAction(UserMetricsAction("MediaIndicatorButton_Unmute")); 168 content::RecordAction(UserMetricsAction("MediaIndicatorButton_Unmute"));
169 else 169 else
170 NOTREACHED(); 170 NOTREACHED();
171 171
172 [clickTarget_ performSelector:clickAction_ withObject:self]; 172 [clickTarget_ performSelector:clickAction_ withObject:self];
173 } 173 }
174 174
175 @end 175 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698