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

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

Issue 6245006: Update references part 3: remaining files in chrome/...... (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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_gtk.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/tab_contents/web_drag_dest_gtk.h" 5 #include "chrome/browser/tab_contents/web_drag_dest_gtk.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/bookmarks/bookmark_node_data.h" 11 #include "chrome/browser/bookmarks/bookmark_node_data.h"
12 #include "chrome/browser/gtk/bookmark_utils_gtk.h"
13 #include "chrome/browser/gtk/gtk_util.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 12 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
14 #include "chrome/browser/ui/gtk/bookmark_utils_gtk.h"
15 #include "chrome/browser/ui/gtk/gtk_util.h"
16 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
17 #include "net/base/net_util.h" 17 #include "net/base/net_util.h"
18 #include "ui/base/dragdrop/gtk_dnd_util.h" 18 #include "ui/base/dragdrop/gtk_dnd_util.h"
19 19
20 using WebKit::WebDragOperation; 20 using WebKit::WebDragOperation;
21 using WebKit::WebDragOperationNone; 21 using WebKit::WebDragOperationNone;
22 22
23 namespace { 23 namespace {
24 24
25 // Returns the bookmark target atom, based on the underlying toolkit. 25 // Returns the bookmark target atom, based on the underlying toolkit.
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // support for (at the moment experimental) drag and drop extensions. 272 // support for (at the moment experimental) drag and drop extensions.
273 if (tab_contents_->GetBookmarkDragDelegate()) 273 if (tab_contents_->GetBookmarkDragDelegate())
274 tab_contents_->GetBookmarkDragDelegate()->OnDrop(bookmark_drag_data_); 274 tab_contents_->GetBookmarkDragDelegate()->OnDrop(bookmark_drag_data_);
275 275
276 // The second parameter is just an educated guess as to whether or not the 276 // The second parameter is just an educated guess as to whether or not the
277 // drag succeeded, but at least we will get the drag-end animation right 277 // drag succeeded, but at least we will get the drag-end animation right
278 // sometimes. 278 // sometimes.
279 gtk_drag_finish(context, is_drop_target_, FALSE, time); 279 gtk_drag_finish(context, is_drop_target_, FALSE, time);
280 return TRUE; 280 return TRUE;
281 } 281 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_gtk.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698