| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/cocoa/extensions/chevron_menu_button.h" | 5 #import "chrome/browser/cocoa/extensions/chevron_menu_button.h" |
| 6 #import "chrome/browser/cocoa/extensions/chevron_menu_button_cell.h" | 6 #import "chrome/browser/cocoa/extensions/chevron_menu_button_cell.h" |
| 7 | 7 |
| 8 #include "base/scoped_nsobject.h" | 8 #include "base/scoped_nsobject.h" |
| 9 #import "chrome/browser/cocoa/cocoa_test_helper.h" | 9 #import "chrome/browser/cocoa/cocoa_test_helper.h" |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 [cell mouseEntered:nil]; | 41 [cell mouseEntered:nil]; |
| 42 EXPECT_TRUE([cell isMouseInside]); | 42 EXPECT_TRUE([cell isMouseInside]); |
| 43 [button_ display]; | 43 [button_ display]; |
| 44 | 44 |
| 45 [cell mouseExited:nil]; | 45 [cell mouseExited:nil]; |
| 46 EXPECT_FALSE([cell isMouseInside]); | 46 EXPECT_FALSE([cell isMouseInside]); |
| 47 [button_ display]; | 47 [button_ display]; |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace | 50 } // namespace |
| OLD | NEW |