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 #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 Loading... |
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 |
OLD | NEW |