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

Side by Side Diff: chrome/browser/tab_contents/web_drop_target.cc

Issue 260003: Move the clipboard stuff out of base and into app/clipboard. I renamed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <windows.h> 5 #include <windows.h>
6 #include <shlobj.h> 6 #include <shlobj.h>
7 7
8 #include "chrome/browser/tab_contents/web_drop_target.h" 8 #include "chrome/browser/tab_contents/web_drop_target.h"
9 9
10 #include "app/clipboard/clipboard_util_win.h"
10 #include "app/os_exchange_data.h" 11 #include "app/os_exchange_data.h"
11 #include "app/os_exchange_data_provider_win.h" 12 #include "app/os_exchange_data_provider_win.h"
12 #include "base/clipboard_util.h"
13 #include "base/gfx/point.h" 13 #include "base/gfx/point.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 14 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 15 #include "chrome/browser/tab_contents/tab_contents.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/base/net_util.h" 17 #include "net/base/net_util.h"
18 #include "webkit/glue/webdropdata.h" 18 #include "webkit/glue/webdropdata.h"
19 #include "webkit/glue/window_open_disposition.h" 19 #include "webkit/glue/window_open_disposition.h"
20 20
21 using WebKit::WebDragOperationCopy; 21 using WebKit::WebDragOperationCopy;
22 22
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 tab_contents_->render_view_host()->DragTargetDrop( 178 tab_contents_->render_view_host()->DragTargetDrop(
179 gfx::Point(client_pt.x, client_pt.y), 179 gfx::Point(client_pt.x, client_pt.y),
180 gfx::Point(cursor_position.x, cursor_position.y)); 180 gfx::Point(cursor_position.x, cursor_position.y));
181 181
182 current_rvh_ = NULL; 182 current_rvh_ = NULL;
183 183
184 // We lie and always claim that the drop operation didn't happen because we 184 // We lie and always claim that the drop operation didn't happen because we
185 // don't want to wait for the renderer to respond. 185 // don't want to wait for the renderer to respond.
186 return DROPEFFECT_NONE; 186 return DROPEFFECT_NONE;
187 } 187 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | chrome/browser/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698