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

Unified Diff: content/browser/tab_contents/web_drag_dest_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: content/browser/tab_contents/web_drag_dest_win.h
===================================================================
--- content/browser/tab_contents/web_drag_dest_win.h (revision 124553)
+++ content/browser/tab_contents/web_drag_dest_win.h (working copy)
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_DROP_TARGET_WIN_H_
-#define CHROME_BROWSER_TAB_CONTENTS_WEB_DROP_TARGET_WIN_H_
+#ifndef CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_WIN_H_
+#define CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_WIN_H_
#pragma once
#include "base/memory/scoped_ptr.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
#include "ui/base/dragdrop/drop_target.h"
@@ -21,12 +22,12 @@
// A helper object that provides drop capabilities to a TabContents. The
// DropTarget handles drags that enter the region of the WebContents by
// passing on the events to the renderer.
-class WebDropTarget : public ui::DropTarget {
+class CONTENT_EXPORT WebDragDest : public ui::DropTarget {
public:
- // Create a new WebDropTarget associating it with the given HWND and
+ // Create a new WebDragDest associating it with the given HWND and
// WebContents.
- WebDropTarget(HWND source_hwnd, content::WebContents* contents);
- virtual ~WebDropTarget();
+ WebDragDest(HWND source_hwnd, content::WebContents* contents);
+ virtual ~WebDragDest();
void set_drag_cursor(WebKit::WebDragOperation op) {
drag_cursor_ = op;
@@ -74,7 +75,7 @@
// A delegate that can receive drag information about drag events.
content::WebDragDestDelegate* delegate_;
- DISALLOW_COPY_AND_ASSIGN(WebDropTarget);
+ DISALLOW_COPY_AND_ASSIGN(WebDragDest);
};
-#endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DROP_TARGET_WIN_H_
+#endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_DEST_WIN_H_
« no previous file with comments | « content/browser/tab_contents/tab_contents_view_win.h ('k') | content/browser/tab_contents/web_drag_dest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698