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

Unified Diff: base/base_drop_target.h

Issue 351029: Support dragging a virtual file out of the browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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 | « base/base_drag_source.cc ('k') | base/base_drop_target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_drop_target.h
===================================================================
--- base/base_drop_target.h (revision 35459)
+++ base/base_drop_target.h (working copy)
@@ -26,12 +26,13 @@
explicit BaseDropTarget(HWND hwnd);
virtual ~BaseDropTarget();
- // When suspend is set to |true|, the drop target does not receive drops from
- // drags initiated within the owning HWND.
+ // When suspended is set to |true|, the drop target does not receive drops
+ // from drags initiated within the owning HWND.
// TODO(beng): (http://b/1085385) figure out how we will handle legitimate
// drag-drop operations within the same HWND, such as dragging
// selected text to an edit field.
- void set_suspend(bool suspend) { suspend_ = suspend; }
+ bool suspended() const { return suspended_; }
+ void set_suspended(bool suspended) { suspended_ = suspended; }
// IDropTarget implementation:
HRESULT __stdcall DragEnter(IDataObject* data_object,
@@ -120,7 +121,7 @@
// Whether or not we are currently processing drag notifications for drags
// initiated in this window.
- bool suspend_;
+ bool suspended_;
LONG ref_count_;
« no previous file with comments | « base/base_drag_source.cc ('k') | base/base_drop_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698