| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/memory/scoped_nsobject.h" | 5 #include "base/memory/scoped_nsobject.h" |
| 6 #include "base/string16.h" | 6 #include "base/strings/string16.h" |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/browser/bookmarks/bookmark_model.h" | 8 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" | 11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" |
| 12 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.h" | 12 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.h" |
| 13 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" | 13 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" |
| 14 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h" | 14 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h" |
| 15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h" | 15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h" |
| 16 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 16 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 EXPECT_TRUE([info draggingEnteredCalled]); // Ensure controller pinged. | 314 EXPECT_TRUE([info draggingEnteredCalled]); // Ensure controller pinged. |
| 315 EXPECT_TRUE([view_ dropIndicatorShown]); | 315 EXPECT_TRUE([view_ dropIndicatorShown]); |
| 316 EXPECT_EQ([view_ dropIndicatorPosition], kFakeIndicatorPos); | 316 EXPECT_EQ([view_ dropIndicatorPosition], kFakeIndicatorPos); |
| 317 | 317 |
| 318 [info setDropIndicatorShown:NO]; | 318 [info setDropIndicatorShown:NO]; |
| 319 EXPECT_EQ([view_ draggingEntered:(id)info.get()], NSDragOperationMove); | 319 EXPECT_EQ([view_ draggingEntered:(id)info.get()], NSDragOperationMove); |
| 320 EXPECT_FALSE([view_ dropIndicatorShown]); | 320 EXPECT_FALSE([view_ dropIndicatorShown]); |
| 321 } | 321 } |
| 322 | 322 |
| 323 } // namespace | 323 } // namespace |
| OLD | NEW |