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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/media_indicator_button_cocoa_unittest.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 <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 12 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
13 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "testing/platform_test.h" 15 #include "testing/platform_test.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 EXPECT_EQ(2, [clickTarget count]); 81 EXPECT_EQ(2, [clickTarget count]);
82 } 82 }
83 83
84 base::scoped_nsobject<MediaIndicatorButton> button_; 84 base::scoped_nsobject<MediaIndicatorButton> button_;
85 base::MessageLoopForUI message_loop_; // Needed for gfx::Animation. 85 base::MessageLoopForUI message_loop_; // Needed for gfx::Animation.
86 }; 86 };
87 87
88 TEST_VIEW(MediaIndicatorButtonTest, button_) 88 TEST_VIEW(MediaIndicatorButtonTest, button_)
89 89
90 } // namespace 90 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698