OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/threading/platform_thread.h" | 12 #include "base/threading/platform_thread.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
16 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
17 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" | 16 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 108 |
110 // Keep track of the old suspended state of the drop target. | 109 // Keep track of the old suspended state of the drop target. |
111 bool old_drop_target_suspended_state_; | 110 bool old_drop_target_suspended_state_; |
112 | 111 |
113 base::Callback<void()> drag_end_callback_; | 112 base::Callback<void()> drag_end_callback_; |
114 | 113 |
115 DISALLOW_COPY_AND_ASSIGN(WebContentsDragWin); | 114 DISALLOW_COPY_AND_ASSIGN(WebContentsDragWin); |
116 }; | 115 }; |
117 | 116 |
118 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ | 117 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ |
OLD | NEW |