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

Unified Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.h

Issue 9562049: Move the core drag&drop code for Windows to content\browser to match Mac/GTK. I've had to add tempo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.h
===================================================================
--- chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.h (revision 124553)
+++ chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.h (working copy)
@@ -9,7 +9,8 @@
#include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h"
#include "ui/views/widget/native_widget_win.h"
-class WebDropTarget;
+class WebDragBookmarkHandlerWin;
+class WebDragDest;
class TabContentsDragWin;
namespace content {
@@ -24,7 +25,7 @@
internal::NativeTabContentsViewDelegate* delegate);
virtual ~NativeTabContentsViewWin();
- WebDropTarget* drop_target() const { return drop_target_.get(); }
+ WebDragDest* drag_dest() const { return drag_dest_.get(); }
content::WebContents* GetWebContents() const;
@@ -75,8 +76,9 @@
internal::NativeTabContentsViewDelegate* delegate_;
+ scoped_ptr<WebDragBookmarkHandlerWin> bookmark_handler_;
// A drop target object that handles drags over this TabContents.
- scoped_refptr<WebDropTarget> drop_target_;
+ scoped_refptr<WebDragDest> drag_dest_;
// Used to handle the drag-and-drop.
scoped_refptr<TabContentsDragWin> drag_handler_;

Powered by Google App Engine
This is Rietveld 408576698