| 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/scoped_nsobject.h" | 8 #include "base/scoped_nsobject.h" |
| 9 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 9 #import "chrome/browser/cocoa/bookmark_bar_constants.h" // namespace bookmarks | 10 #import "chrome/browser/cocoa/bookmark_bar_constants.h" // namespace bookmarks |
| 10 #import "chrome/browser/cocoa/bookmark_bar_controller.h" | 11 #import "chrome/browser/cocoa/bookmark_bar_controller.h" |
| 11 #import "chrome/browser/cocoa/bookmark_bar_folder_button_cell.h" | 12 #import "chrome/browser/cocoa/bookmark_bar_folder_button_cell.h" |
| 12 #import "chrome/browser/cocoa/bookmark_bar_folder_controller.h" | 13 #import "chrome/browser/cocoa/bookmark_bar_folder_controller.h" |
| 13 #import "chrome/browser/cocoa/bookmark_bar_unittest_helper.h" | 14 #import "chrome/browser/cocoa/bookmark_bar_unittest_helper.h" |
| 14 #include "chrome/browser/cocoa/browser_test_helper.h" | 15 #include "chrome/browser/cocoa/browser_test_helper.h" |
| 15 #import "chrome/browser/cocoa/cocoa_test_helper.h" | 16 #import "chrome/browser/cocoa/cocoa_test_helper.h" |
| 16 #import "chrome/browser/cocoa/view_resizer_pong.h" | 17 #import "chrome/browser/cocoa/view_resizer_pong.h" |
| 17 #include "chrome/test/model_test_utils.h" | 18 #include "chrome/test/model_test_utils.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 [folder deleteBookmark:folder]; | 1447 [folder deleteBookmark:folder]; |
| 1447 EXPECT_FALSE([folder folderController]); | 1448 EXPECT_FALSE([folder folderController]); |
| 1448 } | 1449 } |
| 1449 | 1450 |
| 1450 // TODO(jrg): draggingEntered: and draggingExited: trigger timers so | 1451 // TODO(jrg): draggingEntered: and draggingExited: trigger timers so |
| 1451 // they are hard to test. Factor out "fire timers" into routines | 1452 // they are hard to test. Factor out "fire timers" into routines |
| 1452 // which can be overridden to fire immediately to make behavior | 1453 // which can be overridden to fire immediately to make behavior |
| 1453 // confirmable. | 1454 // confirmable. |
| 1454 // There is a similar problem with mouseEnteredButton: and | 1455 // There is a similar problem with mouseEnteredButton: and |
| 1455 // mouseExitedButton:. | 1456 // mouseExitedButton:. |
| OLD | NEW |