| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.h" | 5 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include <cmath> | 9 #include <cmath> |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/scoped_nsobject.h" | 12 #include "base/memory/scoped_nsobject.h" |
| 13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 14 #include "base/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "base/strings/sys_string_conversions.h" | 15 #include "base/strings/sys_string_conversions.h" |
| 16 #include "chrome/browser/bookmarks/bookmark_model.h" | 16 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 17 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 17 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 18 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 18 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
| 19 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" | 19 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" |
| 20 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
| 21 #include "chrome/browser/ui/bookmarks/bookmark_drag_drop.h" | 21 #include "chrome/browser/ui/bookmarks/bookmark_drag_drop.h" |
| 22 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" | 22 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" |
| 23 #include "grit/ui_resources.h" | 23 #include "grit/ui_resources.h" |
| 24 #include "ui/base/resource/resource_bundle.h" | 24 #include "ui/base/resource/resource_bundle.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 offset:NSZeroSize | 176 offset:NSZeroSize |
| 177 event:drag_event | 177 event:drag_event |
| 178 pasteboard:[NSPasteboard pasteboardWithName:NSDragPboard] | 178 pasteboard:[NSPasteboard pasteboardWithName:NSDragPboard] |
| 179 source:nil | 179 source:nil |
| 180 slideBack:YES]; | 180 slideBack:YES]; |
| 181 | 181 |
| 182 base::MessageLoop::current()->SetNestableTasksAllowed(was_nested); | 182 base::MessageLoop::current()->SetNestableTasksAllowed(was_nested); |
| 183 } | 183 } |
| 184 | 184 |
| 185 } // namespace chrome | 185 } // namespace chrome |
| OLD | NEW |