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

Side by Side Diff: ui/base/dragdrop/drag_source_win.h

Issue 14294003: Touch-initiated drag-out to download file but fails. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to trunk Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef UI_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_ 5 #ifndef UI_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_
6 #define UI_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_ 6 #define UI_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_
7 7
8 #include <objidl.h> 8 #include <objidl.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 26 matching lines...) Expand all
37 37
38 // IUnknown implementation: 38 // IUnknown implementation:
39 HRESULT __stdcall QueryInterface(const IID& iid, void** object); 39 HRESULT __stdcall QueryInterface(const IID& iid, void** object);
40 ULONG __stdcall AddRef(); 40 ULONG __stdcall AddRef();
41 ULONG __stdcall Release(); 41 ULONG __stdcall Release();
42 42
43 protected: 43 protected:
44 virtual void OnDragSourceCancel() {} 44 virtual void OnDragSourceCancel() {}
45 virtual void OnDragSourceDrop() {} 45 virtual void OnDragSourceDrop() {}
46 virtual void OnDragSourceMove() {} 46 virtual void OnDragSourceMove() {}
47 virtual bool ShouldDropDragSource(BOOL escape_pressed, DWORD key_state);
47 48
48 private: 49 private:
49 // Set to true if we want to cancel the drag operation. 50 // Set to true if we want to cancel the drag operation.
50 bool cancel_drag_; 51 bool cancel_drag_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(DragSourceWin); 53 DISALLOW_COPY_AND_ASSIGN(DragSourceWin);
53 }; 54 };
54 55
55 } // namespace ui 56 } // namespace ui
56 57
57 #endif // UI_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_ 58 #endif // UI_BASE_DRAGDROP_DRAG_SOURCE_WIN_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_source_win.cc ('k') | ui/base/dragdrop/drag_source_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698