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

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

Issue 9390038: Move automation/ui_controls to ui/ui_controls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_aura fix, sync Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/browser/tab_contents/web_drag_dest_gtk.h" 5 #include "content/browser/tab_contents/web_drag_dest_gtk.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "content/browser/renderer_host/render_view_host_impl.h" 13 #include "content/browser/renderer_host/render_view_host_impl.h"
14 #include "content/browser/tab_contents/drag_utils_gtk.h" 14 #include "content/browser/tab_contents/drag_utils_gtk.h"
15 #include "content/browser/tab_contents/tab_contents.h" 15 #include "content/browser/tab_contents/tab_contents.h"
16 #include "content/public/browser/web_drag_dest_delegate.h" 16 #include "content/public/browser/web_drag_dest_delegate.h"
17 #include "content/public/common/url_constants.h" 17 #include "content/public/common/url_constants.h"
18 #include "net/base/net_util.h" 18 #include "net/base/net_util.h"
19 #include "ui/base/clipboard/custom_data_helper.h" 19 #include "ui/base/clipboard/custom_data_helper.h"
20 #include "ui/base/dragdrop/gtk_dnd_util.h" 20 #include "ui/base/dragdrop/gtk_dnd_util.h"
21 #include "ui/base/gtk/gtk_screen_utils.h" 21 #include "ui/base/gtk/gtk_screen_util.h"
22 22
23 using content::RenderViewHostImpl; 23 using content::RenderViewHostImpl;
24 using WebKit::WebDragOperation; 24 using WebKit::WebDragOperation;
25 using WebKit::WebDragOperationNone; 25 using WebKit::WebDragOperationNone;
26 26
27 namespace content { 27 namespace content {
28 28
29 WebDragDestGtk::WebDragDestGtk(WebContents* web_contents, GtkWidget* widget) 29 WebDragDestGtk::WebDragDestGtk(WebContents* web_contents, GtkWidget* widget)
30 : web_contents_(web_contents), 30 : web_contents_(web_contents),
31 widget_(widget), 31 widget_(widget),
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 gtk_drag_finish(context, is_drop_target_, FALSE, time); 267 gtk_drag_finish(context, is_drop_target_, FALSE, time);
268 268
269 return TRUE; 269 return TRUE;
270 } 270 }
271 271
272 RenderViewHostImpl* WebDragDestGtk::GetRenderViewHost() const { 272 RenderViewHostImpl* WebDragDestGtk::GetRenderViewHost() const {
273 return static_cast<RenderViewHostImpl*>(web_contents_->GetRenderViewHost()); 273 return static_cast<RenderViewHostImpl*>(web_contents_->GetRenderViewHost());
274 } 274 }
275 275
276 } // namespace content 276 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | content/browser/tab_contents/web_drag_source_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698