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

Unified Diff: chrome/browser/tab_contents/web_drop_target_win.h

Issue 1132003: Hook up HTML5 effectAllowed and dragEffect on Windows. (Closed)
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/tab_contents/web_drop_target_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_drop_target_win.h
diff --git a/chrome/browser/tab_contents/web_drop_target_win.h b/chrome/browser/tab_contents/web_drop_target_win.h
index fd49033d4e55efda5058b0544e2c9534a7584fae..5b6188b104e80211e575c34079bee36b04e9020d 100644
--- a/chrome/browser/tab_contents/web_drop_target_win.h
+++ b/chrome/browser/tab_contents/web_drop_target_win.h
@@ -7,6 +7,7 @@
#include "base/base_drop_target.h"
#include "base/scoped_ptr.h"
+#include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
class InterstitialDropTarget;
class RenderViewHost;
@@ -27,8 +28,8 @@ class WebDropTarget : public BaseDropTarget {
WebDropTarget(HWND source_hwnd, TabContents* contents);
virtual ~WebDropTarget();
- void set_is_drop_target(bool is_drop_target) {
- is_drop_target_ = is_drop_target;
+ void set_drag_cursor(WebKit::WebDragOperation op) {
+ drag_cursor_ = op;
}
protected:
@@ -61,7 +62,7 @@ class WebDropTarget : public BaseDropTarget {
// Used to determine what cursor we should display when dragging over web
// content area. This can be updated async during a drag operation.
- bool is_drop_target_;
+ WebKit::WebDragOperation drag_cursor_;
// A special drop target handler for when we try to d&d while an interstitial
// page is showing.
« no previous file with comments | « no previous file | chrome/browser/tab_contents/web_drop_target_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698