| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <Carbon/Carbon.h> | 5 #import <Carbon/Carbon.h> |
| 6 | 6 |
| 7 #include "chrome/browser/tab_contents/tab_contents_view_mac.h" | 7 #include "chrome/browser/tab_contents/tab_contents_view_mac.h" |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/browser/browser.h" // TODO(beng): this dependency is awful. | 11 #include "chrome/browser/browser.h" // TODO(beng): this dependency is awful. |
| 12 #import "chrome/browser/chrome_application_mac.h" | |
| 13 #import "chrome/browser/cocoa/focus_tracker.h" | 12 #import "chrome/browser/cocoa/focus_tracker.h" |
| 14 #import "chrome/browser/cocoa/chrome_browser_window.h" | 13 #import "chrome/browser/cocoa/chrome_browser_window.h" |
| 15 #import "chrome/browser/cocoa/browser_window_controller.h" | 14 #import "chrome/browser/cocoa/browser_window_controller.h" |
| 16 #include "chrome/browser/global_keyboard_shortcuts_mac.h" | 15 #include "chrome/browser/global_keyboard_shortcuts_mac.h" |
| 17 #include "chrome/browser/cocoa/sad_tab_view.h" | 16 #include "chrome/browser/cocoa/sad_tab_view.h" |
| 18 #import "chrome/browser/cocoa/web_drag_source.h" | 17 #import "chrome/browser/cocoa/web_drag_source.h" |
| 19 #import "chrome/browser/cocoa/web_drop_target.h" | 18 #import "chrome/browser/cocoa/web_drop_target.h" |
| 20 #include "chrome/browser/renderer_host/render_view_host_factory.h" | 19 #include "chrome/browser/renderer_host/render_view_host_factory.h" |
| 21 #include "chrome/browser/renderer_host/render_widget_host.h" | 20 #include "chrome/browser/renderer_host/render_widget_host.h" |
| 22 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h" | 21 #include "chrome/browser/renderer_host/render_widget_host_view_mac.h" |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 } | 454 } |
| 456 | 455 |
| 457 - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender { | 456 - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender { |
| 458 return [dropTarget_ performDragOperation:sender view:self]; | 457 return [dropTarget_ performDragOperation:sender view:self]; |
| 459 } | 458 } |
| 460 | 459 |
| 461 // Tons of stuff goes here, where we grab events going on in Cocoaland and send | 460 // Tons of stuff goes here, where we grab events going on in Cocoaland and send |
| 462 // them into the C++ system. TODO(avi): all that jazz | 461 // them into the C++ system. TODO(avi): all that jazz |
| 463 | 462 |
| 464 @end | 463 @end |
| OLD | NEW |