Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Side by Side Diff: chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.mm

Issue 6358008: [Mac] Organize some files into chrome/browser/ui/cocoa/tab_contents/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/ui/cocoa/web_contents_drag_source.h" 5 #import "chrome/browser/ui/cocoa/tab_contents/web_contents_drag_source.h"
6 6
7 #include "app/mac/nsimage_cache.h" 7 #include "app/mac/nsimage_cache.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/browser/tab_contents/tab_contents_view_mac.h" 12 #include "chrome/browser/tab_contents/tab_contents_view_mac.h"
13 13
14 namespace { 14 namespace {
15 15
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 if (rvh) { 121 if (rvh) {
122 NSPoint localPoint = [contentsView_ convertPoint:screenPoint fromView:nil]; 122 NSPoint localPoint = [contentsView_ convertPoint:screenPoint fromView:nil];
123 FlipPointCoordinates(screenPoint, localPoint, contentsView_); 123 FlipPointCoordinates(screenPoint, localPoint, contentsView_);
124 rvh->DragSourceMovedTo(localPoint.x, localPoint.y, 124 rvh->DragSourceMovedTo(localPoint.x, localPoint.y,
125 screenPoint.x, screenPoint.y); 125 screenPoint.x, screenPoint.y);
126 } 126 }
127 } 127 }
128 128
129 @end // @implementation WebContentsDragSource 129 @end // @implementation WebContentsDragSource
130 130
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698